tiix / form
There is no license information available for the latest version (dev-master) of this package.
dev-master
2016-12-15 14:43 UTC
Requires
- php: ~5.5|~7.0
Requires (Dev)
- jolicode/jolinotif: ^1.0
- phpunit/phpunit: ~4.0||~5.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2025-01-12 15:15:30 UTC
README
Framework agnostic form builder
Install
Via Composer
$ composer require tiix/form
Usage
Default builder
$builder = Tiix\Form\Builder::createDefaultBuilder(); // create default form $form = $builder->build(\Tiix\Form\Form::class, $url, $defaults) // add fields ->addField(new Tiix\Form\Field\TextField('name', 'label')) // add buttons ->addButton(new Tiix\Form\Button\Submit('name', 'label') ->getForm(); $form->render();
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.