cline/lineage

Closure table hierarchies for Eloquent models with O(1) ancestor/descendant queries.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/cline/lineage

1.1.2 2025-11-25 07:27 UTC

This package is auto-updated.

Last update: 2025-11-26 02:59:37 UTC


README

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads

Lineage

Closure table hierarchies for Eloquent models with O(1) ancestor/descendant queries.

Lineage implements the closure table pattern for managing hierarchical relationships in Laravel. This enables efficient queries for ancestors and descendants without recursion limits, supporting deeply nested relationships like organizational charts, sales hierarchies, and category trees.

Documentation

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.