pindab0ter/constrained-morph-to-for-laravel
actions/checkout v7, dependabot/fetch-metadata v3.1.0)whereMorphedTo() and orWhereMorphedTo() now qualify the morph columns against the parent table
instead of the first constrained type, which previously produced an unknown-column errorAdds support for multiple allowed model types per relation
Full Changelog: https://github.com/pindab0ter/constrained-morph-to-for-laravel/compare/v1.0.0...v1.1.0
Initial release of Constrained MorphTo for Laravel. This package provides type-constrained polymorphic relationships for Laravel Eloquent, ensuring data integrity by restricting polymorphic relations to specific model types.
See CHANGELOG.md for full details.
How can I help you explore Laravel packages today?