Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 868 Bytes

installation.md

File metadata and controls

30 lines (25 loc) · 868 Bytes

This version is for symfony/form ^3||^4 and PHP ^7.1.

If you want to use it with symfony/symfony ^2.3 (Symfony 2.3.* , 2.4.* , 2.5.* , 2.6.* , 2.7.* or 2.8.*), use 2.* version instead.

Composer

composer require steevanb/symfony-form-options-builder ^4.2

Or add it manually:

# composer.json
{
    "require": {
        "Steevanb/symfony-form-options-builder": "^4.2"
    }
}

Add EntityEditableQueryBuilderType

If you want to use EntityEditableQueryBuilderType, who allow you to add a callback when EntityType will call getQuery() on your query_builder option, you need to add a service:

services:
    Steevanb\SymfonyFormOptionsBuilder\Type\EntityEditableQueryBuilderType: ~

Back to index