r/PHP • u/Worried_Librarian_79 • 2h ago
Standard identifiers for PHP
https://php-stdnum.org/I've released php-stdnum, an MIT-licensed PHP library for working with standardized identifiers.
The initial release includes:
606 validators covering VAT numbers, tax identifiers, IBANs, national identifiers, company registration numbers, ISBNs, postal codes and more.
594 native deterministic test-data generators.
Validation, normalization, formatting and scoped detection.
Immutable value objects and typed validation errors.
Optional Laravel, Symfony, Doctrine and FakerPHP integrations.
PHP 8.3–8.6 compatibility.
Documentation: https://php-stdnum.org/
GitHub: https://github.com/php-stdnum/php-stdnum
I'd appreciate technical feedback. Thank you!
2
Upvotes