'Facing issues while installing mews/captcha in Laravel

I have installed the latest PHP version on my device. I am trying to install mews/captcha library in my project but due to some version conflicts, I am failing to do so.

composer.json :

"require": {
    "php": "^7.3|^8.0",
    "fruitcake/laravel-cors": "^2.0",
    "guzzlehttp/guzzle": "^7.0.1",
    "laravel/framework": "^8.75",
    "laravel/sanctum": "^2.11",
    "laravel/tinker": "^2.5",
    "mews/captcha": "~2.0"
},

"minimum-stability": "dev",

This is the output in terminal: enter image description here

I have tried commands -

composer update

composer install --ignore-platform-reqs

composer require mews/captcha:*

All are not working



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source