I see a lot of developers running into this error while using Laravel 5
FatalErrorException in compiled.php line 6391: Class 'Illuminate\Html\HtmlServiceProvider' not found
Solution
First add this line to composer.json
"illuminate/html": "~5.0"
Then do a composer update wait for the composer update to finish,
Then open the config/app.php add the line below:
'Illuminate\Html\HtmlServiceProvider',
and this
'Form' => 'Illuminate\Html\FormFacade',
'Html' => 'Illuminate\Html\HtmlFacade',
and be sure when you use Html in blade or wherever use it in lowercase Html not HTML
FatalErrorException in compiled.php line 6391: Class 'Illuminate\Html\HtmlServiceProvider' not found
Solution
First add this line to composer.json
"illuminate/html": "~5.0"
Then do a composer update wait for the composer update to finish,
Then open the config/app.php add the line below:
'Illuminate\Html\HtmlServiceProvider',
and this
'Form' => 'Illuminate\Html\FormFacade',
'Html' => 'Illuminate\Html\HtmlFacade',
and be sure when you use Html in blade or wherever use it in lowercase Html not HTML