database/seeders/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        $this->call([
            PermissionSeeder::class,
            RoleSeeder::class,
            UserSeeder::class
        ]);
        \App\Models\User::factory(50)->create();
        \App\Models\DemoContent::factory(100)->create();
    }
public function run ( ) { $ this -> call ( [ PermissionSeeder :: class , RoleSeeder :: class , UserSeeder :: class ] ) ; \ App \ Models \ User :: factory ( 50 ) -> create ( ) ; \ App \ Models \ DemoContent :: factory ( 100 ) -> create ( ) ; }
Seed the application's database.
Seed the application ' s database .
/*Admin Seeder*/