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

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

v1.2 2024-02-17 13:54 UTC

This package is auto-updated.

Last update: 2024-07-14 00:09:29 UTC


README

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

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.