This library provides the ability to create form and element objects programatically using OO.
See the various examples for implementation methods
- Create a composer.json where you want to install the project
- Add the following:
{
"require": {
"aw/formfields": "dev-master"
}
}
3: Download composer and install the repo:
curl -sS https://getcomposer.org/installer | php
./composer.phar install
For more information about composer, please see the composer quick start guide.
If you are using xedbug and have large collections of child objects, you may need to add this into your php.ini:
xdebug.max_nesting_level=200
This is because of the amount of recursion necessary to render parent/child objects so the amount of function calls may exceed the default amount.