Category

Model Relationships

Additional relationship types and shortcuts for related records

2.54
Laravel 13
PHP 8.0+
There's a lot of open issues
A long-lived project that still receives updates
Nested Set Model for Laravel 5.7 and up
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2.03
Laravel 13
PHP 8.3+
Low commit activity in last 18 months
A long-lived project that still receives updates
Laravel Eloquent HasManyThrough relationships with unlimited levels
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
1.34
Laravel 12 – 13
PHP 8.2+
A long-lived project that still receives updates
Laravel relationships with support for composite/multiple keys
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
1.22
Laravel 13
PHP 8.3+
Low commit activity in last 18 months
A long-lived project that still receives updates
Laravel Eloquent BelongsToThrough relationships
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
1.1
Laravel 5
PHP 5.4+
No commit activity in last 2 years
No release in over 2 years
There's a lot of open issues
Baum is an implementation of the Nested Set pattern for Eloquent models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.94
Laravel 13
PHP 8.3+
Low commit activity in last 18 months
A long-lived project that still receives updates
Recursive Laravel Eloquent relationships with CTEs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.73
Laravel 10 – 13
PHP 8.1+
A long-lived project that still receives updates
A simple eloquent trait that allows relationships to be accessed through child models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.68
Laravel 10 – 13
PHP 8.1+
A long-lived project that still receives updates
A simple eloquent trait that allows relationships to be accessed through child models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.66
Laravel 5 – 12
Low commit activity in last 18 months
No release in over a year
This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.42
Laravel 11 – 13
PHP 8.2+
Low commit activity in last 18 months
A long-lived project that still receives updates
This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.22
PHP 5.6+
No commit activity in last 2 years
No release in over 2 years
There's a lot of open issues
Eager load pivot relations for Laravel Eloquent's BelongsToMany relation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.13
Laravel 11 – 13
PHP 8.2+
Low commit activity in last 18 months
A long-lived project that still receives updates
This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.1
Laravel 12 – 13
Low commit activity in last 18 months
A long-lived project that still receives updates
Laravel framework relation has in implement
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.05
Laravel 12 – 13
PHP 8.3+
The project is in a healthy, maintained state
Package provides additional, more efficient relationship methods for Laravel Eloquent models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
0.02
Laravel 12
PHP 8.3+
The project is in a healthy, maintained state
A Laravel package to handle ownership relationships between models
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026