v3.0.0
Release v3.0.0 - PHP 8.4, Laravel 13, Pint, PHPStan Level 6
Breaking Changes
- Minimum PHP version raised to 8.4 (dropped 8.3)
- Removed
opcodesio/log-viewerproduction dependency - Event properties are now
readonly - Unknown payment methods in callbacks now throw
ValueError
Added
- Laravel 13 support
PaymentMethodbacked string enum- Laravel Pint code style enforcement
composer lint/composer lint:checkscripts
Changed
- PHPStan raised from level 5 to level 6
- Constructor promotion with
readonlyin all payment classes and events - Error handling extracted to
EuPagobase class (removed duplication from 9 classes) CallbackControllerrefactored withmatchexpression (~100 lines reduced to ~30)declare(strict_types=1)in all PHP files- Typed return types throughout the codebase
Quality
- 165 tests passing (691 assertions)
- Pint code style: pass
- PHPStan level 6: 0 errors
See CHANGELOG.md for full details.