shopapps/has-table-relation
Adds a hasTable relation to Laravel Eloquent models, letting you relate to and query any database table without writing a dedicated model class—handy for legacy, lookup, or auxiliary tables. Simple trait-based setup with no migrations required.
shopapps/has-table-relation adds a HasTableRelation trait to Laravel Eloquent models, allowing relations to be defined against tables whose names are resolved at runtime. Instead of hard-coding a related model class, the trait builds the relationship from a table name stored on the model—ideal for dynamic, per-tenant, or user-defined schemas.
hasOne/hasMany-style relationsHow can I help you explore Laravel packages today?