To seed your database, run the following command from within the starter code directory. code example
Example: laravel 8 seeding
/**
* Run the database seeders.
*
* @return void
*/
public function run()
{
$this->call([
UserSeeder::class,
PostSeeder::class,
CommentSeeder::class,
]);
}