formular / provider-laravel
Formular service provider and facade for Formular (formular/formular)
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/formular/provider-laravel
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: 4.1.*
This package is auto-updated.
Last update: 2023-08-26 20:04:22 UTC
README
Installation
Use composer to install package formular/provider-laravel
.
Use
Service Provider
Add the following line to your app.php
's providers
array.
'bigwhoop\Formular\Provider\Laravel\ServiceProvider',
Currently the Bootstrap 3 form is automatically loaded.
Further a CSRF element is added that uses the Session::token()
method to get the current token.
Facade
To enable a Formular
facade just add the following to your app.php
's aliases
array.
'Formular' => 'bigwhoop\Formular\Provider\Laravel\Facade',