database/seeds/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
       User::create([
        'name'     => 'admin',
        'email'    => 'admin@web.com',
        'password' => bcrypt('12345678'),
        'group'    => 'admin'
       ]);
    }
public function run ( ) { User :: create ( [ 'name' => 'admin' , 'email' => 'admin@web.com' , 'password' => bcrypt ( '12345678' ) , 'group' => 'admin' ] ) ; }
Run the database seeds.
Run the database seeds .