protected function seedUsers()
    {
        $users = [
            [
                'username' => 'test',
                'password' => 'test123',
                'email'    => 'test@example.com',
                'level'    => User::LEVEL_ADMIN,
                'api_key'  => '9yMHsdioQosnyVK4iCVR',
            ],
        ];

        User::truncate();

        foreach ($users as $user) {
            User::create($user);
        }
    }
protected function seedUsers()
    {
        $users = [
            [
                'username' => 'test',
                'password' => 'test123',
                'email'    => 'test@example.com',
                'level'    => User::LEVEL_ADMIN,
                'api_key'  => '9yMHsdioQosnyVK4iCVR',
            ],
        ];

        User::truncate();

        foreach ($users as $user) {
            User::create($user);
        }
    }
protected function seedUsers ( ) { $ users = [ [ 'username' => 'test' , 'password' => 'test123' , 'email' => 'test@example.com' , 'level' => User :: LEVEL_ADMIN , 'api_key' => '9yMHsdioQosnyVK4iCVR' , ] , ] ; User :: truncate ( ) ; foreach ( $ users as $ user ) { User :: create ( $ user ) ; } }
Seed the users table.

@return void
Seed the users table .