Skip to content

Merge of staudenmeir/eloquent-param-limit-fix and staudenmeir/laravel-adjacency-list

License

Notifications You must be signed in to change notification settings

staudenmeir/eloquent-param-limit-fix-x-laravel-adjacency-list

Repository files navigation

Eloquent Param Limit Fix + Laravel Adjacency List

CI Code Coverage Scrutinizer Code Quality Latest Stable Version Total Downloads License

This Laravel package merges staudenmeir/eloquent-param-limit-fix and staudenmeir/laravel-adjacency-list to allow them being used in the same model.

Supports Laravel 9.0+.

Installation

composer require staudenmeir/eloquent-param-limit-fix-x-laravel-adjacency-list:"^1.0"

Use this command if you are in PowerShell on Windows (e.g. in VS Code):

composer require staudenmeir/eloquent-param-limit-fix-x-laravel-adjacency-list:"^^^^1.0"

Versions

Laravel Package
11.x 1.2
10.x 1.1
9.x 1.0

Usage

Use the HasParamLimitFixAndRecursiveRelationships trait in your model:

class User extends Model
{
    use \Staudenmeir\EloquentParamLimitFixXLaravelAdjacencyList\Eloquent\HasParamLimitFixAndRecursiveRelationships;
}

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

About

Merge of staudenmeir/eloquent-param-limit-fix and staudenmeir/laravel-adjacency-list

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages