ritey/forms

PHP dynamic forms library

dev-master 2016-04-15 21:06 UTC

This package is auto-updated.

Last update: 2024-04-16 01:54:40 UTC


README

Forms is a PHP library class to make dynamic form building easy

Latest Stable Version Total Downloads Latest Unstable Version License

Composer

To install Forms as a Composer package, simply add this to your composer.json:

"ritey/forms": "dev-master"

..and run composer update. Once it's installed, if you're using Laravel 5, you can register the service provider in app/config/app.php in the providers array add :

Ritey\Forms\FormsServiceProvider::class

You can also benefit from using a Forms Facade in Laravel 5 by adding to the alias array also in app.php below the providers array

'Forms'    => Ritey\Forms\Facades\FormsFacade,

Documentation

If you're using Laravel, publish the config file by running

php artisan vendor:publish

If you aren't using Laravel then you can create a Forms object by:

use Forms\Forms;

$forms = new Forms();

For more information about how to use the Forms class, read the Wiki

Copyright and Licence

Forms has been written by David Wright and is released under the MIT License.