database/seeders/UserSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $user = array(
            'name' => 'SuperAdmin',
            'email' => 'super@admin.com',
            'password' => bcrypt('super123'),
            'role'=>1,
            'status' =>1,
        );
DB::table('users')->insert($user);
    }
public function run ( ) { $ user = array ( 'name' => 'SuperAdmin' , 'email' => 'super@admin.com' , 'password' => bcrypt ( 'super123' ) , 'role' => 1 , 'status' => 1 , ) ; DB :: table ( 'users' ) -> insert ( $ user ) ; }
Run the database seeds.
Run the database seeds .