Fatal error: Class ‘Illuminate\Foundation\Application’ not found

In my situation, I didn’t have the full vendor dependencies in place (composer file was messed up during original install) – so running any artisan commands caused a failure. I was able to use the –no-scripts flag to prevent artisan from executing before it was included. Once my dependencies were in place, everything worked as … Read more

ReflectionException: Class ClassName does not exist – Laravel

Perform a composer update, then composer dump-autoload. If the above doesn’t solve the problem, change the classmap in your composer.json file such that it contains the project-relative path to your php files: “autoload-dev”: { “classmap”: [ “tests/TestCase.php”, “database/seeds/UserTableSeeder.php” //include the file with its path here ] }, /** … */ and soon after, perform a … Read more

No Application Encryption Key Has Been Specified

From Encryption – Laravel – The PHP Framework For Web Artisans: “Before using Laravel’s encrypter, you must set a key option in your config/app.php configuration file. You should use the php artisan key:generate command to generate this key” I found that using this complex internet query in google.com: “laravel add encrption key” (Yes, it worked … Read more