public function run()
 {
     DB::table('users')->truncate();
     $faker = Faker::create();
     User::create(['name' => 'PC', 'email' => '*****@*****.**', 'password' => Hash::make(123456), 'is_admin' => 1]);
     User::create(['name' => 'Gui', 'email' => '*****@*****.**', 'password' => Hash::make(123)]);
     foreach (range(1, 5) as $i) {
         User::create(['name' => $faker->word, 'email' => $faker->email, 'password' => Hash::make($faker->word)]);
     }
 }
 /**
  * Create a new user instance after a valid registration.
  *
  * @param  array  $data
  * @return User
  */
 protected function create(array $data)
 {
     return User::create(['name' => $data['name'], 'email' => $data['email'], 'password' => bcrypt($data['password'])]);
 }