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!
Added
- PHP 8.1 is now supported and the minimum required version
- Enums for Gender and Country
Removed
- Laravel facade and validation rule.
- Luxembourg ID Validator and Extractor classes
- Carbon dependency
- Orchestra testbench dev dependency
- Old string constants for Gender and Country
Updated
- PHPUnit was updated to version 9
- The entire codebase now uses 8.1 syntax
Fixed
- Several code style improvements and some house cleaning
- Some performance improvements