PHP Package: staudenmeir/laravel-adjacency-list

Laravel Adjacency List is a PHP library for handling hierarchical data structures in Laravel applications efficiently and seamlessly.

Current Version: 1.24
Last Updated: 2025-02-25
PHP Requirement: ^8.2
Dependencies:
illuminate/database
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laravel Adjacency List is a flexible library designed to manage adjacency list models effortlessly in Laravel projects. It simplifies the storage and retrieval of hierarchical data structures, enhancing the overall performance and maintainability of your application.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.25.2

Download Download v1.25.2

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/staudenmeir/laravel-adjacency-list/1.25.2/loader.php';
require_once 'libs/illuminate/database/12.33.0/loader.php';

use Staudenmeir\EloquentAdjacency\Relations\Ancestors;
use Staudenmeir\EloquentAdjacency\Relations\Descendants;
use Illuminate\Database\Eloquent\Model;

$obj = new Ancestors();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.