database/seeds/UserSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run() {
        $user = User::create([
            'name' => 'Administrador',
            'email' => 'admin@admin.com',
            'password' => Hash::make('admin')
        ]);
    }
public function run ( ) { $ user = User :: create ( [ 'name' => 'Administrador' , 'email' => 'admin@admin.com' , 'password' => Hash :: make ( 'admin' ) ] ) ; }
Run the database seeds.
Run the database seeds .