Laravel 5 Class ‘Collective\Html\HtmlServiceProvider’ not found on AWS

When you update your composer it will check the providers. Because you haven’t installed laravelcollective/html yet he can’t find it and throws an error:

So first require your packeges, then add them to the config file.

You can also work with composer require laravelcollective/html, it will add it to the json file automatically. Then it doesn’t matter if you have added them before or not because the config file won’t be checked.

Leave a Comment