Support the ongoing development of Laravel.io →
posted 8 years ago
Database

Suppose i have a database seeder named as ItemTableSeeder. when you try to run the command php artisan db:seed it is giving you a error - class ItemTableSeeder Does'nt exist !. Well in that case use comannd :-

  1. composer dump-autoload
  2. php artisan db:seed

This will bring you the joy. wasted a lot of time behind this and didn't find a proper solution in web thats y thought of sharing . Happy coding :) Regards Shalini.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.