reedware/laravel-composite-relations
Adds composite foreign key support to Eloquent relationships. Define Belongs To, Has One, and Has Many relations using multiple columns, with full eager loading and "where has" query support through a simple trait on your base model.
Laravel 11 (the new minimum) offers better generics for relations, so a lot of workarounds for Laravel 10 were removed.
Laravel 9 reached its end of life earlier this year. I have dropped support for L8 and L9, and added official support for Laravel 11.
With this comes dropping PHP 7.2 and 8.0, with the new minimum of PHP 8.1.
PHP 8 offers better type-hinting, and overall works better with static analysis tooling. I have incorporated PHPStan into the pipeline builds moving forward to offer better quality code for everyone.
The PHPStan level is rocking a solid 9 will full support of generics, and the GitHub actions have been bumped from Node 16 to Node 20.
Added L9 and L10 support. Dropped L6 and L7 support.
How can I help you explore Laravel packages today?