webmachine / form
Form for Laravel 5
dev-master
2022-03-10 18:51 UTC
Requires
- php: >=5.5.0
- illuminate/config: >=5.4
- illuminate/support: >=5.4
This package is auto-updated.
Last update: 2024-11-11 00:26:31 UTC
README
Install
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"
Usage
In your views
{!! Form::text('mytext', ['class' => 'myclass']) !!}
License
The MIT License (MIT). Please see License File for more information.