PHPackages                             marcha/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. marcha/filament-tree

ActiveLibrary[Admin Panels](/categories/admin)

marcha/filament-tree
====================

This is a tree layout plugin for Filament Admin

1.0.5(9mo ago)015MITPHPPHP ^8.1

Since Sep 11Pushed 9mo agoCompare

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

READMEChangelog (3)Dependencies (14)Versions (5)Used By (0)

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.

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

[](#installation)

To install the package, run the following command:

```
composer require marcha/filament-tree
```

```
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: [
    '/marcha/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:

```
