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
Class 'Illuminate\Html\HtmlServiceProvider' not found Laravel 5
Unknown
Android Developer at Appsix LLC
I love stickers and reading books.
A cool website that I've found was commitstrip.com
Currently reading: The pragmatic programmer, and The C programming language.
Currently working: an android app, and on a web project with laravel.
Im a 9gag enthusiast.
I write code at work and at home for fun or out of pure boredom.
Programming Languages that I've worked with:
Java
PHP
C#
PLSQL
JavaScript
Thanks for reading.
very helpful. thank you!!
ReplyDelete