technetium / expanded-collection-bundle
Symfony 2 and 3 bundle for rendering a collection of entities as an expanded selectable list
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Type:symfony-bundle
Requires
- symfony/framework-bundle: ~2.3|~3.0
This package is not auto-updated.
Last update: 2025-04-30 23:58:26 UTC
README
Symfony 2 and 3 bundle for rendering a collection of entities as an expanded selectable list. Include some usefull form types extending the native entity form field, so all entity options could by used (like query_builder), except expanded and multiple, since all the bundle types are based in those options setted to true. Read more about entity type field.
Features
- Be able to configure wich entity properties or get method should be rendered and how.
- Render a collection of entities as an expanded checkbox list.
- Handling ManyToMany related collection as an expanded checkbox list.
- Support for bootstrap 3 symfony theme.
Installation
Step 1: Download the Bundle
$ composer require abdielcs/expanded-collection-bundle
This command requires you to have Composer installed globally, as explained in the Composer documentation.
Step 2: Enable the Bundle
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new abdielcs\ExpandedCollectionBundle\ExpandedCollectionBundle(), ); } // ... }
That's it!. Now you can start to use it.
License
This software is published under the MIT License