Download the PHP package solution-forest/filament-tree without Composer

On this page you can find all versions of the php package solution-forest/filament-tree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-tree

[!IMPORTANT] Please note that we will only be updating to version 4.x, excluding any bug fixes.

Filament Tree

Latest Version on Packagist Total Downloads

Filament Tree is a plugin for Filament Admin that creates hierarchical tree management with drag-and-drop functionality. Perfect for building menus, categories, organizational structures, and any nested data relationships.

🎯 Key Features:

🚀 Demo: https://filament-cms-website-demo.solutionforest.net/admin
Credentials: [email protected] / 12345678 (Auto-reset every hour)

Version Compatibility

Filament Version Plugin Version
v3 2.x.x
v4 3.x.x
v5 4.x.x

[!IMPORTANT] We only provide updates for versions 3.x, excluding bug fixes for older versions.

Which Package Should I Use?

Installation

  1. Install the package:

  2. Publish and register assets:

  3. Publish configuration (optional):

  4. For custom themes: Add to your tailwind.config.js:

Quick Start

1. Database Setup

Create your migration with the required tree structure:

2. Model Setup

Add the ModelTree trait to your Eloquent model:

3. Generate Tree Components

Choose your implementation:

Tree Widget Example

Tree Widget Example

Implementation Options

Tree Widgets

Perfect for embedding trees within existing resource pages or dashboard.

1. Generate the widget:

2. Configure the widget:

3. Display in resource pages:

Tree Pages

Standalone pages dedicated to tree management.

1. Generate the page:

2. Register the page:

Resource Tree Pages

Integrated tree pages within Filament resources.

1. Generate for resource:

2. Register in resource:

Tree Customization

Record Display

Customize how records appear in the tree:

Custom record titles:

Record icons:

Tree with Icons

Tree Actions

Configure actions that appear for each tree record:

Quick setup with boolean methods:

Advanced action configuration:

Toolbar Actions

Add global actions displayed above the tree (v3.1.0+):

Note: Toolbar actions are only supported in version 3.1.0 and later.

Icons and Styling

Tree depth control:

Node collapsed state:

Form Schemas

Define forms for different operations:

Advanced Features

Translation Support

  1. Follow the instruction from Translatable Plugin.

  2. Setup your model:

  3. Configure your tree page:

Customizing Data Display in Tree Widgets

For advanced use cases, you may want to limit or customize the data displayed in your tree widget: for example, showing only items matching specific criteria or related to a parent resource.

You can achieve this by overriding the getTreeQuery method in your widget, allowing full control over the Eloquent query used to fetch records.

Custom Column Names

Override default column names if your table structure differs:

Node State Management

Performance optimization for large trees:

Conditional record display:

Configuration

The configuration file config/filament-tree.php allows you to customize default behavior:

Publish additional resources:

Best Practices

Database Design

Performance

User Experience

Development

Development

Frontend Build Process

Testing

Contributing

See CONTRIBUTING for development guidelines.

Changelog

See the CHANGELOG for more information on what has changed recently.

Contributing

See CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

Filament Tree is open-sourced software licensed under the MIT license.

About Solution Forest

Solution Forest Web development agency based in Hong Kong. We help customers to solve their problems. We Love Open Sources.

We have built a collection of best-in-class products:


All versions of filament-tree with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^5.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package solution-forest/filament-tree contains the following files

Loading the files please wait ...