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 = [
            [
                'name'           => 'Super Admin',
                'email'          => 'admin@mail.com',
                'password'       => Hash::make('Admin@12345'),
                'remember_token' => null,
                'created_at'     => '2022-04-22 00:00:00',
                'updated_at'     => '2022-04-22 00:00:00',
            ],
        ];
        User::insert($user);
    }
public function run ( ) { $ user = [ [ 'name' => 'Super Admin' , 'email' => 'admin@mail.com' , 'password' => Hash :: make ( 'Admin@12345' ) , 'remember_token' => null , 'created_at' => '2022-04-22 00:00:00' , 'updated_at' => '2022-04-22 00:00:00' , ] , ] ; User :: insert ( $ user ) ; }
Run the database seeds.
Run the database seeds .