Download the PHP package agencearcange/symfony-form-tree without Composer
On this page you can find all versions of the php package agencearcange/symfony-form-tree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download agencearcange/symfony-form-tree
More information about agencearcange/symfony-form-tree
Files in agencearcange/symfony-form-tree
Package symfony-form-tree
Short Description create select field with indentation for tree structure
License MIT
Informations about the package symfony-form-tree
Symfony Form Tree extension
This is a fork from abandoned repo: https://github.com/Yavin/symfony-form-tree
This extension provide displaying doctrine tree entity types in symfony forms. It add a prefix to option names in select list that indicates tree level.
Instalation
-
With composer.json
-
Add type guesser in your services file (optional):
or if you use
yml
format: -
Then add field to tree model. In this example
This extension assume that in tree model You have
treeLeft
andtreeLevel
fields. It can be changed in field options.Here is example tree entity.
Other
- Custom, callback provided prefix
- Set default options to all tree select fields
License
All versions of symfony-form-tree with dependencies
symfony/form Version ~5.3
symfony/options-resolver Version ~5.3
symfony/property-access Version ~5.3
doctrine/orm Version ~2.9
doctrine/common Version ~3.1
gedmo/doctrine-extensions Version ~v3.1
symfony/doctrine-bridge Version ~5.3