core23 / form-extensions
This library adds some custom form elements and validation for symfony.
Fund package maintenance!
core23
Opencollective
Ko-Fi
Other
Installs: 7 233
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: ^7.2
- ext-json: *
- ext-pcre: *
- pugx/autocompleter-bundle: ^1.4
- sonata-project/doctrine-extensions: ^1.1
- symfony/form: ^4.2.12 || ^5.0
- symfony/http-foundation: ^4.2.12 || ^5.0
- symfony/options-resolver: ^4.2.12 || ^5.0
- symfony/property-access: ^4.2.12 || ^5.0
- symfony/translation: ^4.2.12 || ^5.0
- symfony/validator: ^4.2.12 || ^5.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.3
- doctrine/orm: ^2.5
- ergebnis/composer-normalize: ^2.0.1
- symfony/browser-kit: ^4.4 || ^5.0
- symfony/config: ^4.2.12 || ^5.0
- symfony/dependency-injection: ^4.2.12 || ^5.0
- symfony/expression-language: ^4.2.12 || ^5.0
- symfony/framework-bundle: ^4.2.12 || ^5.0
- symfony/http-kernel: ^4.2.12 || ^5.0
- symfony/twig-bridge: ^4.2.12 || ^5.0
Suggests
- symfony/framework-bundle: If you want to use symfony
Conflicts
- doctrine/orm: <2.5
- symfony/framework-bundle: <4.2
README
This library adds some custom form elements and validation for symfony.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:
composer require core23/form-extensions
Assets
It is recommended to use webpack / webpack-encore
to include the Select2Autocomplete.js
file in your page. These file is located in the assets
folder.
Symfony usage
If you want to use this library inside symfony, you can use a bridge.
Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php
file of your project:
// config/bundles.php return [ // ... Core23\Form\Bridge\Symfony\Bundle\Core23FormBundle::class => ['all' => true], ];
License
This library is under the MIT license.