Fixing Seed Class Not Found Exception in Laravel 5
When working with Laravel 5 and attempting to run a database seed, you may encounter a “Seed Class not found” exception. This error typically occurs when Laravel is unable to locate the specified seed class. However, there is a straightforward solution to this problem. In this blog post, we will explore the steps to resolve the “Seed Class not found” exception in Laravel 5.
Step 1: Run Composer Dump-Autoload
The first step is to run the following command in your project’s root directory: