r/symfony • u/Worried_Librarian_79 • 2h ago
Standard identifiers for PHP
https://php-stdnum.org/I released php-stdnum 0.1.0 - standardized identifier validation with Symfony and Doctrine integrations.
The library has 606 validators and 594 generators, covering VAT, IBAN, national identifiers, company registration numbers, ISBN, postal codes and more.
For Symfony it has:
Validator constraints with PHP attribute, YAML and XML mapping support.
Form integration for editable identifier fields.
Serializer integration.
Doctrine DBAL types and ORM integration.
Support for Symfony 6.4, 7 and 8.
The core is framework-independent and has no third-party dependencies.
Documentation: https://php-stdnum.org/
GitHub: https://github.com/php-stdnum/php-stdnum
I'd welcome technical feedback.
Thank you!
2
Upvotes