Download the PHP package smada/symfony-type-extras-bundle without Composer
On this page you can find all versions of the php package smada/symfony-type-extras-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smada/symfony-type-extras-bundle
More information about smada/symfony-type-extras-bundle
Files in smada/symfony-type-extras-bundle
Package symfony-type-extras-bundle
Short Description Extra Symfony Form Input Types
License
Informations about the package symfony-type-extras-bundle
Smada SymfonyTypeExtrasBundle
This bundle includes additional Field Types for Symfony Forms. they include:
- "input_boxes" form field type. This input is great for account numbers, abns etc where you want 1 input box per number but the transformer returns the value as a string so it is easy to deal with.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest version of this bundle: NOTE: This version is not entirely stable yet
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding the following line in the app/AppKernel.php
file of your project:
Step 3: Add in the field template
Add in the template so the field knows how to be rendered. You can override this with your own rendering template by adding your own class and changing the value of this setting
Step 4: Add Resource Assets
Add in the css and js as assets in your assetic config.
Step 5: Reference Assets
-
Now you will need to reference it in your layout
- Now dump your assetic
Examples
- Input Boxes