Via Composer
$ composer require webmachine/form
Next, you must install the service provider and facade alias:
// config/app.php 'providers' => [ ... Webmachine\Form\FormServiceProvider::class, ]; ... 'aliases' => [ ... 'Form' => Webmachine\Form\FormFacade::class, ];
Publish
$ php artisan vendor:publish --provider="Webmachine\Form\FormServiceProvider"
In your views
{!! Form::text('mytext', ['class' => 'myclass']) !!}
The MIT License (MIT). Please see License File for more information.