webmachine/form
Form for Laravel 5
438
| Install | |
|---|---|
composer require webmachine/form |
|
| PHP: | >=5.5.0 |
| License: | MIT |
| Last Updated: | Mar 10, 2022 |
| Links: | GitHub · Packagist |
Maintainer: webmachine
Form for Laravel 5
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.