This specific content was written 12 years ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
Here is a simple example of using laravel 5 powerful forms to deliver a secure and fast result!
To make our lives easier we need to install the HTML package!
In file /compojer.json we add:
"require": {
"laravel/framework": "5.0.*",
"laravelcollective/html": "~5.0"
},
Next add the service provider and aliases.
In /config/app.php we update the following:
'providers' => [
'Illuminate\Html\HtmlServiceProvider',
],
'aliases' => [
'Form'=> 'Illuminate\Html\FormFacade',
'HTML'=> 'Illuminate\Html\HtmlFacade',
],
Mar 17 2015
Laravel 5 and simple Forms workaround
Here is a simple example of using laravel 5 powerful forms to deliver a secure and fast result!
To make our lives easier we need to install the HTML package!
In file /compojer.json we add: "require": { "laravel/framework": "5.0.*", "laravelcollective/html": "~5.0" },Next add the service provider and aliases.
In /config/app.php we update the following:
By Polyvios Damianakis • PHP 1 • Tags: Laravel