Closed ziming closed 2 years ago
We appreciate the suggestions here - Unfortunately removing support for EOL PHP versions and relying on features only available in latter 8.0 versions of Laravel could negatively effect legacy applications relying on this package, so at this time we are not going to merge this PR - We will, however, review these suggestions inline with ongoing development with a view to adopting them at the next opportunity.
Laravel 8.39 onwards added its own uncompromised password check so we can eliminate some code
https://laravel-news.com/password-validation-rule-object-in-laravel-8
Laravel 8 requires PHP 7.3 minimum. However PHP 7.3 is now EOL so I bumped the PHP minimum of this package to ^7.4||^8.0
Since Laravel 9 is coming out very soon I also changed the laravel requirements to ^8.39||^9.0
Laravel 9 minimum is PHP 8.0.2
Testbench version is also bumped to support Laravel 8 & 9
Given the breaking changes, this can be tagged as a new major version.