PHPackages                             tgeorgel/filament-tree - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. tgeorgel/filament-tree

ActiveLibrary[Admin Panels](/categories/admin)

tgeorgel/filament-tree
======================

This is a tree layout plugin for Filament Admin

v2.1.1(1y ago)0941MITPHPPHP ^8.1

Since Apr 20Pushed 1y agoCompare

[ Source](https://github.com/tgeorgel/filament-tree)[ Packagist](https://packagist.org/packages/tgeorgel/filament-tree)[ Docs](https://github.com/solution-forest/filament-tree)[ RSS](/packages/tgeorgel-filament-tree/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (14)Versions (25)Used By (1)

Important

Please note that we will only be updating to version 2.x, excluding any bug fixes.

Filament Tree
=============

[](#filament-tree)

Filament Tree is a plugin for Filament Admin that creates a model management page with a heritage tree structure view. This plugin can be used to create menus and more.

[![Latest Version on Packagist](https://camo.githubusercontent.com/16a1606e210323867434757e33255344050eda42cca2281fb16274a9dbae11e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6c7574696f6e2d666f726573742f66696c616d656e742d747265652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/solution-forest/filament-tree)[![Total Downloads](https://camo.githubusercontent.com/e7fadb11517b2ad2b9136da30d694498b3c63ae8ee3e18d1cd45654ea932e75d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6c7574696f6e2d666f726573742f66696c616d656e742d747265652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/solution-forest/filament-tree)

This plugin creates model management page with heritage tree structure view for Filament Admin. It could be used to create menu, etc.

Demo site :

Demo username :

Demo password : 12345678 Auto Reset every hour.

Installation
------------

[](#installation)

To install the package, run the following command:

```
composer require solution-forest/filament-tree
```

> **Important: Need to publish assets after version 2.x**

```
php artisan filament:assets
```

> **Note: Add plugin Blade files to your custom theme `tailwind.config.js` for dark mode.**
>
> To set up your own custom theme, you can visit the [official instruction page](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme) on the Filament website.

Add the plugin's views to your `tailwind.config.js` file.

```
content: [
    '/solution-forest/filament-tree/resources/**/*.blade.php',
]
```

Then, publish the config file using:

```
php artisan vendor:publish --tag="filament-tree-config"
```

You can set your preferred options by adding the following code to your `config/filament-tree.php` file:

```
