Registry / web-framework / tetranz-select2entity-bundle

tetranz-select2entity-bundle

JSON →
library3.1.0phppackagistunverified

A Symfony bundle that integrates Select2 as a drop-in replacement for a standard entity field on a Symfony form.

composer require tetranz/select2entity-bundle
INSTALL
IMPORT
SIG · TETRANZ-SELECT2ENT
T
tetranz-select2entity-bundle
web-frameworkphpv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Select2EntityType
✓ use Tetranz\Select2EntityBundle\Form\Type\Select2EntityType;

Adds a Select2 entity field to a Symfony form.

use Tetranz\Select2EntityBundle\Form\Type\Select2EntityType; $builder->add('entity', Select2EntityType::class, [ 'class' => 'App\Entity\MyEntity', ]);
Debug
Known issues
breakingRequires Symfony 3.4+
fix
Use version 2.x for Symfony 2.8
affects: >=3.0.0
Upgrade
Version history
3.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
tetranz-select2entity-bundle — pip install tetranz-select2entity-bundle · libregistry