I am trying to deploy my Laravel application on forge but when I go to view it on my server I am getting the following error, everything works perfectly on my local machine:
FatalErrorException in ProviderRepository.php line 150:
Class 'Illuminate\Html\HtmlServiceProvider' not found
I am assuming I need to do a composer update somewhere? I have tried adding it in the 'deploy script' and running it but no luck...
How do I fix this?
So looks like it may have been a cache problem as I have just tried it again by adding the composer update
to the deploy script and then deploying it and it is all working :)
cd /home/forge/default
git pull origin master
composer install
php artisan migrate --force
composer update <-- Add this onto the end