database/seeds/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        App\User::create([
            'name'      => 'Mofe Saurio',
            'email'     => 'admin123@email.com',
            'password'     => bcrypt('password'),
        ]);
        factory(App\User::class, 10)->create();
    }
public function run ( ) { App \ User :: create ( [ 'name' => 'Mofe Saurio' , 'email' => 'admin123@email.com' , 'password' => bcrypt ( 'password' ) , ] ) ; factory ( App \ User :: class , 10 ) -> create ( ) ; }
Run the database seeds.
Run the database seeds .