Skip to content

v3.0.0

Choose a tag to compare

@digitaldev-lx digitaldev-lx released this 01 Apr 09:31
· 3 commits to master since this release

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-viewer production dependency
  • Event properties are now readonly
  • Unknown payment methods in callbacks now throw ValueError

Added

  • Laravel 13 support
  • PaymentMethod backed string enum
  • Laravel Pint code style enforcement
  • composer lint / composer lint:check scripts

Changed

  • PHPStan raised from level 5 to level 6
  • Constructor promotion with readonly in all payment classes and events
  • Error handling extracted to EuPago base class (removed duplication from 9 classes)
  • CallbackController refactored with match expression (~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.