Hi all Im trying to run big seeder and it trows error Class not found but is present need help ho to seed this file I have the file on local machine and want to seed it
It looks like you are trying to seed a file from a GitHub repository. You will need to download the file and place it in the database/seeds directory of your project.
Once you have done that, you will need to register the seeder in the DatabaseSeeder.php file. You can do this by adding the following line of code:
$this->call(CitiesSeeder::class);
Finally, you can run the seeder by running the following command in your terminal:
Target class [CitiesSeeder] does not exist.
But if I remove the seed data left only 100 lines it is op it is working but if it is the full seeder not found
@KalimeroMK Maybe it cannot load the file in memory as the file is HUGE. :) It might be better to use an sql file for the seeding if the data comes from a database (it looks like the file is generated by some seeder package)
@KalimeroMK so either use another computer to test or split it into multiple files? You can also try incresing the max memory in php and see if that helps