Download the PHP package geekstek/filament-tree without Composer

On this page you can find all versions of the php package geekstek/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

Geekstek Filament Tree

A Filament v4 plugin that provides tree form components including a cascading tree selector (Wunderbaum style) and a dropdown tree select.

Requirements

Installation

The package will auto-register via Laravel's package discovery.

Components

1. Tree (Cascading Tree Selector)

A flat tree component with checkbox selection and cascade behavior - when you select a parent, all children are automatically selected.

Available Methods

Method Description
options(array\|Closure $options) Set the tree data structure
disabledOptions(array\|Closure $ids) Disable specific node IDs (they won't be selected when parent is clicked)
showToolbar(bool\|Closure $show) Show/hide the expand/collapse toolbar
hideToolbar() Hide the toolbar
defaultExpanded(bool\|Closure $expanded) Set default expanded state
collapsed() Start with all nodes collapsed
expandSelected(bool\|Closure $expand) Expand nodes that contain selected items
defaultOpenLevel(int\|Closure $level) Set default expand level (0 = all collapsed, 1 = first level, etc.)
maxHeight(string\|int\|Closure $height) Set max height of the tree container (e.g., '400px', '50vh', 300)

Height Control Example

2. TreeSelect (Dropdown Tree)

A dropdown component with tree structure support, powered by TreeselectJS.

Available Methods

Method Description
options(array\|Closure $options) Set the tree data (supports both id/label and value/name formats)
disabledOptions(array\|Closure $ids) Disable specific node IDs
single(bool\|Closure $isSingle) Enable single select mode
showTags(bool\|Closure $show) Show selected items as tags
clearable(bool\|Closure $clearable) Allow clearing selection
searchable(bool\|Closure $searchable) Enable search functionality
placeholder(string\|Closure $placeholder) Set placeholder text
expandSelected(bool\|Closure $expand) Expand nodes that contain selected items
defaultOpenLevel(int\|Closure $level) Set default expand level (0 = all collapsed, 1 = first level, etc.)
maxHeight(string\|int\|Closure $height) Set max height of the dropdown list (e.g., '300px', '50vh', 250)

Height Control Example

3. TreeEntry (Infolist Display)

Display tree data in infoolists with selected items highlighted.

Available Methods

Method Description
options(array\|Closure $options) Set the tree data structure
defaultExpanded(bool\|Closure $expanded) Set default expanded state
collapsed() Start with all nodes collapsed
maxHeight(string\|int\|Closure $height) Set max height of the tree display (e.g., '400px', '50vh', 300)

Data Structure

Tree & TreeEntry

The Tree and TreeEntry components expect data in this format:

TreeSelect

The TreeSelect component uses TreeselectJS format:

Features

License

MIT License. See LICENSE for more information.


All versions of filament-tree with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^5.0
spatie/laravel-package-tools Version ^1.16
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 geekstek/filament-tree contains the following files

Loading the files please wait ...