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()
    {
        DB::table('users')->insert([
            'name' => 'hansel',
            'email' => 'lesnah27@yahoo.com',
            'password' =>bcrypt('12345678'),
          ]);
        factory(App\User::class,10)->create();
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ 'name' => 'hansel' , 'email' => 'lesnah27@yahoo.com' , 'password' => bcrypt ( '12345678' ) , ] ) ; factory ( App \ User :: class , 10 ) -> create ( ) ; }
Run the database seeds.
Run the database seeds .
/*
          DB::table('users')->insert([
            'name' => Str::random(10),
            'email' => Str::random(10).'@gmail.com',
            'password' => Hash::make('password'),
        ]);
        */