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::create([
            'name' => "Admin",
            'email' => "admin@gmail.com",
            'password' => Hash::make("123456789"),
        ]);
    }
public function run ( ) { User :: create ( [ 'name' => " Admin " , 'email' => " admin@gmail.com " , 'password' => Hash :: make ( " 123456789 " ) , ] ) ; }
Run the database seeds.
Run the database seeds .