Skip to content

Symfony bundle for render entity collections as a selectable expanded list.

License

Notifications You must be signed in to change notification settings

abdielcs/ExpandedCollectionBundle

Repository files navigation

Expanded Collection List

Symfony expanded list

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

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