database/seeds/UserSeederTable.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $user = \App\User::create([
           'first_name'  => 'super',
           'last_name'   => 'admin',
           'email'       => 'super_admin@app.com',
           'password'    =>bcrypt('10201020'),
        ]);
        $user->attachRole('super_admin');
    }
public function run ( ) { $ user = \ App \ User :: create ( [ 'first_name' => 'super' , 'last_name' => 'admin' , 'email' => 'super_admin@app.com' , 'password' => bcrypt ( '10201020' ) , ] ) ; $ user -> attachRole ( 'super_admin' ) ; }
Run the database seeds.
Run the database seeds .