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:
'providers' => [ 'Illuminate\Html\HtmlServiceProvider', ], 'aliases' => [ 'Form'=> 'Illuminate\Html\FormFacade', 'HTML'=> 'Illuminate\Html\HtmlFacade', ],
Recent Comments