Libraries tagged by model relations
wfeller/parental
1693 Downloads
A simple eloquent trait that allows relationships to be accessed through child models.
userfrosting/extend-user
350 Downloads
An example Sprinkle for extending the User model and table with additional fields or relationships.
igaster/eloquent-inheritance
149 Downloads
Use a One-To-One (or One-To-Many) relation between a parent & child Tables to simulate inheritance between Models
rapidwebltd/improved-polymorphic-eloquent-builder
1147 Downloads
Attempting to use whereHas queries with standard Eloquent polymorphic relationships will fail, due to Eloquent being unable to determine the correct model to retrieve. The 'Improved Polymorphic Eloquent Builder' is a class which extends the Eloquent Builder class that is built in to Laravel 5.1. It enables limited use of the whereHas method to query Eloquent polymorphic relationships.
akira/laravel-followable
161 Downloads
A lightweight and flexible Laravel package that adds follow/unfollow functionality to Eloquent models. With an intuitive API, it allows users to follow other users, track entities, and manage relationships effortlessly.
stevema/laravel-relations
24 Downloads
laravel的模型关系管理 项目中一堆模型的关系 管理起来很不舒服 写个插件专门做关系管理
ratiborro/laravel-relations
14 Downloads
Generating model relations in existing model files by database columns
mhdobd/eloquent-relation-guard
3 Downloads
A Laravel package for scanning model relations, And providing useful actions over them
kohutd/laravel-relation-traits
21 Downloads
Easily generate model relation traits in Laravel.
hassamulhaq/laravel-model-relation-search
15 Downloads
Laravel package to search via your models and model relations.
brandonwestcott/li3_relations
16384 Downloads
Lithium PHP model -> model relations
vits/laravel-save-relationships
34 Downloads
Save Laravel model relationships.
tjventurini/get-relationship-key
224 Downloads
Trait and sample configuration to manage model relationships via configurations.
shortcodes/model-relationship
3330 Downloads
This is package that eases to manage model relationships automatically handling them by observers
jerry58321/model-orderbywith
7 Downloads
This is a sorting method for Laravel Eloquent Model relationships.