Download the PHP package xm/form-bundle without Composer
On this page you can find all versions of the php package xm/form-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xm/form-bundle
More information about xm/form-bundle
Files in xm/form-bundle
Package form-bundle
Short Description A few helpers to make processing (creating, saving, errors, etc) forms simpler.
License MIT
Homepage https://github.com/xmmedia/XMFormBundle
Informations about the package form-bundle
XMFormBundle
A few helpers to make processing (creating, saving, errors, etc) forms simpler.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires Composer.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Step 3: Add Service Alias
Adding the following will make the call to the service shorter:
Usage
Get the form handler
Create the form
Process form & save entity
Retrieve validation errors/messages as an array
This is useful when passing the validation messages to JS through JSON.
This will return an array of the errors in the format of:
All versions of form-bundle with dependencies
symfony/framework-bundle Version ~3.0
symfony/form Version ~3.0
doctrine/orm Version ^2.5
xm/flash-bundle Version ~1.0