Form for Laravel 5
370
0
3
Package Data
Maintainer Username: webmachine
Maintainer Contact: contacto@webmachine.cl (WebMachine)
Package Create Date: 2017-03-16
Package Last Update: 2022-03-10
Language: PHP
License: MIT
Last Refreshed: 2024-11-15 15:19:12
Package Statistics
Total Downloads: 370
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

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.