Releases: greg0ire/enum
Releases · greg0ire/enum
v4.3.1
v4.3.0
Added: support for PHP 8 thanks @binotaliu
4.2.2
v4.2.1
@laurent-bientz fixed issues related to v4.2.0 . Many thanks to him!
v4.2.0
The labelling feature has been decoupled from the Twig extensions thanks to @laurent-bientz !
Symfony 5 compatibility
v4.1.0 4.1.0
Symfony 4 compatibility
The library is now compatible with Symfony 4!
Expose more Twig methods
Thanks to @soullivaneuh , you can now access more AbstractEnum
methods inside twig. This can be useful if have important customization needs and can't use native Symfony form widgets. The new functions are :
enum_get_constants
enum_get_keys
enum_get_class_prefixed_keys
Twig 2.0 compatibility
Want to move to Twig 2.0 ? greg0ire/enum
won't be a blocker :)