PHP package to Validate and Extract information from National Identification Numbers.
This update brings Socrates to PHP 8.1! 🎉 A thorough code review was performed where we fixed some silly issues that went under the radar. The dependencies have been cleaned up. We now leverage enums for stronger type safety.
We also decided to remove Facade and Validator classes for Laravel.
This results in a leaner and better performing package. Enjoy!
This is our biggest release yet and it features a number of new contributors! 🎉 We now support a number of North, South and Central American countries.
getDateOfBirthNative()
method to Citizen
that returns a native DateTime
and deprecate the old method (#109)InvalidLengthException
phpdoc (#110)