Skip to content

v2.0.0

@emir emir tagged this 16 Feb 11:26
- Fix customMorphMap key format (keys should be class FQCNs, values aliases)
- Add morphedByMany override for inverse relationships
- Add initializeHasCustomMorphMap using Laravel trait convention
- Use static::class instead of __CLASS__ for late static binding
- Rewrite test suite with 18 tests including DB integration
- Add Laravel 12, PHP 8.1-8.4 support, drop Laravel 8/9
- Add PHPStan (max level), Laravel Pint, CI matrix
- Modernize phpunit.xml.dist for PHPUnit 10/11
- Update README, CHANGELOG, add CONTRIBUTING.md
Assets 2
Loading