database/seeders/UserTableSeeder.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' => 'ansari',
            'email' => 'admin@admin.com',
            'password' => Hash::make('password'),
            'remember_token' => str_random(10),
        ]);
    }
public function run ( ) { User :: create ( [ 'name' => 'ansari' , 'email' => 'admin@admin.com' , 'password' => Hash :: make ( 'password' ) , 'remember_token' => str_random ( 10 ) , ] ) ; }
Run the database seeds.
Run the database seeds .
//