I\'m trying to add the HtmlServiceProvider with Laravel 5.
I keep getting the following error:
FatalErrorException in compiled.php line 6391:
Try the following steps Edit your project's composer.json file.
"require": {
"laravelcollective/html": "~5.0"
}
Next, update Composer from the Terminal:
composer update
Next, add your new provider to the providers array of config/app.php:
'providers' => [ // ... 'Collective\Html\HtmlServiceProvider', // ... ],
Finally, add two class aliases to the aliases array of config/app.php:
'aliases' => [
// ...
'Form' => 'Collective\Html\FormFacade',
'Html' => 'Collective\Html\HtmlFacade',
// ...
],