php fatal error: uncaught error: class 'illuminate\foundation\application' laravel code example
Example: Uncaught Error: Class 'Illuminate\Foundation\Application' in laravel bootstrap
composer update --no-scripts
cd bootstrap/cache/->rm -rf *.php
composer dump-autoload