insert([ 'name' => 'GameGabTeam', 'email' => Str::random(10).'@gmail.com', 'password' => bcrypt('secret'), ]); for($i=0; $i<10; $i++) { DB::table('users')->insert([ 'name' => Str::random(10), 'email' => Str::random(10).'@gmail.com', 'password' => bcrypt('secret'), ]); } } }