dev-master
9999999-devBuild symfony2 forms using xml files
MIT
The Requires
by Kamran Shahzad
bundle xml forms symfony2 forms
Build symfony2 forms using xml files
Build symfony2 forms quickly using this bundle, (*1)
This bundle provides the facility to create symfony2 forms using XML files. You can define all forms related schema inside XML file. This bundle translates XML schema into symfony2 forms., (*2)
This bundle was originally developed for a wrapper bundle between two components. First component is an Interactive Form Builder(Drag & Drop) which is developed in JavaScript. It will be soon available on codecanyon as a development tool(I am working on it). User will create his forms using Form Builder tool and export that forms as XML files. Second components are MVC frameworks like symfony, Laravel etc., (*3)
Alternatively this bundle can be used for building small forms directly in symfony2. This bundle is used by a SettingsBundle for building settings forms. SettingsBundle., (*4)
, (*5)
Using composer, (*6)
``` bash $ composer require kamran/xml-form-bundle dev-master, (*7)
Add the KamranXmlFormBundle to your AppKernel.php file:
new Kamran\XmlFormBundle\KamranXmlFormBundle();, (*8)
## How to use? ```xml <xmlforms> <links> <link key="user_settings" order="1" attach-form="userSettingsForm" >User Settings</link> </links> <forms> <form id="userSettingsForm" name="tagtype_form" method="POST"> <fields> <grid-size type="text" required="false" label="Grid Paging Size" ></grid-size> <default-role type="text" required="false" label="Default Role for Registration" ></default-role> <type type="choice" required="false" label="Select Tag Type" > <choices> <item key="1">10</item> <item key="2">20</item> <item key="3">25</item> <item key="7">40</item> </choices> </type> </fields> </form> </forms> </xmlforms>
Issues and feature requests are tracked in the Github issue tracker., (*9)
The contribution for this bundle for public is open, anybody could help me to participate bugs, documentation and code., (*10)
This software is licensed under the MIT license. See the complete license file in the bundle:, (*11)
Resources/meta/LICENSE
Read the License, (*12)
Build symfony2 forms using xml files
MIT
bundle xml forms symfony2 forms