Skip to content

v3.2.0

Choose a tag to compare

@barbieswimcrew barbieswimcrew released this 14 Feb 12:01
· 2 commits to master since this release
c85be5c

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-validator

See 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!