database/seeds/UserTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $users = [
            [
                'name' => 'carlos',
                'email' => 'angus@mail.com',
                'password' => Hash::make('123456')
            ]
        ];
        foreach ($users as $user){
            \App\User::create($user);
        }
    }
public function run ( ) { $ users = [ [ 'name' => 'carlos' , 'email' => 'angus@mail.com' , 'password' => Hash :: make ( '123456' ) ] ] ; foreach ( $ users as $ user ) { \ App \ User :: create ( $ user ) ; } }
Run the database seeds.
Run the database seeds .