v3.2.0
Hello Zipcode validators ;-)
Thanks to @Pixelshaped the Zipcode Validator is now ready for the future! 🚀
We added support for Symfony 8 and modernized the codebase to support PHP 8 Attributes with Named Arguments. This makes your code even cleaner and more readable.
Example of the new syntax:
#[ZipCode(iso: 'DE')]Don't worry, the old array syntax is still fully supported for backward compatibility!
To upgrade run:
$ composer update barbieswimcrew/zip-code-validatorSee changes: v3.1.5...v3.2.0
Documentation: https://github.com/barbieswimcrew/zip-code-validator/blob/v3.2.0/README.md
Highlights:
[FEATURE] #66 Add Symfony 8 compatibility & Named Arguments support by @Pixelshaped
Happy validating!