php - Login with Apple id in Laravel

one text

I am new in laravel. I am trying to login with Apple ID using laravel and implement code from this this link https://socialiteproviders.com/Apple/

but its give me an error

InvalidArgumentException: Driver [apple] not supported. in file /home/property051/public_html/Property-051/vendor/laravel/framework/src/Illuminate/Support/Manager.php on line 109

I have added APPLE_CLIENT_ID and APPLE_CLIENT_SECRET in .env file and also added this code

\SocialiteProviders\Manager\SocialiteWasCalled::class => [ \SocialiteProviders\Apple\AppleExtendSocialite::class.'@handle',],

if I run this command composer require socialiteproviders/apple in terminal then give this

`Problem 1

  - Root composer.json requires socialiteproviders/apple ^5.2 -> satisfiable by socialiteproviders/apple[5.2.0].
  - socialiteproviders/apple 5.2.0 requires lcobucci/jwt ^4.1.5 -> found lcobucci/jwt[4.1.5, ..., 4.3.x-dev] but the package is fixed to 4.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
   Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.You can also try re-running composer require with an explicit version constraint, e.g. "composer require socialiteproviders/apple:*" to figure out if any version is installable, or "composer require socialiteproviders/apple:^2.1" if you know which you need.`

if I run this command then composer require socialiteproviders/apple -w then still show me an error

enter image description here

Source