Download the PHP package yavin/symfony-form-tree without Composer
On this page you can find all versions of the php package yavin/symfony-form-tree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yavin/symfony-form-tree
More information about yavin/symfony-form-tree
Files in yavin/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 extension provide displaying doctrine tree entity types in synfony forms. It add a prefix to option names in select list that indicates tree level.
It is tested and should work with symfony 3.0+
If want to use this in symfony 2 look at "symfony-2" branch of this extension
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 ~3.0
symfony/options-resolver Version ~3.0
symfony/property-access Version ~3.0
doctrine/orm Version ~2.0
doctrine/common Version ~2.0
gedmo/doctrine-extensions Version ~2.1
symfony/doctrine-bridge Version ~3.0