When i run composer require i get the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- darkghosthunter/laraguard[v2.0.0, ..., v2.0.2] require illuminate/support ^6.15||^7.0 -> found illuminate/support[v6.15.0, ..., v6.20.26, v7.0.0, ..., v7.30.4] but these were not
loaded, likely because it conflicts with another require.
- Root composer.json requires darkghosthunter/laraguard ^2.0 -> satisfiable by darkghosthunter/laraguard[v2.0.0, v2.0.1, v2.0.2].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
root@peddy-backend:/app# php artisan vendor:publish --provider="DarkGhostHunter\Laraguard\LaraguardServiceProvider" --tag="migrations"
C:\Users\Alican\Documents\Technoperia\Peddy\peddy_backend>docker exec -it peddy_backend_fpm_1 bash
root@peddy-backend:/app# composer require darkghosthunter/laraguard
Using version ^2.0 for darkghosthunter/laraguard
./composer.json has been updated
Running composer update darkghosthunter/laraguard
php artisan clear-compiled
Compiled services and packages files removed!
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- darkghosthunter/laraguard[v2.0.0, ..., v2.0.2] require illuminate/support ^6.15||^7.0 -> found illuminate/support[v6.15.0, ..., v6.20.26, v7.0.0, ..., v7.30.4] but these were not
loaded, likely because it conflicts with another require.
- Root composer.json requires darkghosthunter/laraguard ^2.0 -> satisfiable by darkghosthunter/laraguard[v2.0.0, v2.0.1, v2.0.2].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Here is my composer json file:
{ "name": "appnormal/happymondays", "description": "Happy Mondays", "license": "MIT", "type": "project", "require": { "php": "7.3.*", "ext-json": "*", "laravel/framework": "^8.0", "laravelcollective/html": "^6.0.0", "barryvdh/laravel-debugbar": "~3.1", "barryvdh/laravel-ide-helper": "~2.4", "imagine/imagine": "0.6.*", "panique/laravel-sass": "1.0", "doctrine/dbal": "~2.5", "fideloper/proxy": "^4.0", "maatwebsite/excel": "~3.1.18", "google/apiclient": "^2.2", "pusher/pusher-php-server": "^4.0", "fruitcake/laravel-cors": "^2.0", "phpoffice/phpexcel": "^1.8", "edujugon/push-notification": "^4.4", "laravel/ui": "^3.1", "laravel/telescope": "^4.4" }, "require-dev": { "fzaninotto/faker": "~1.4", "mockery/mockery": "^1.0", "phpunit/phpunit": "^9.0", "phpspec/phpspec": "6.*", "symfony/dom-crawler": "5.*", "symfony/css-selector": "5.*", "filp/whoops": "~2.0", "laravel/browser-kit-testing": "^6.1", "knuckleswtf/scribe": "^2.0.0-beta" }, "autoload": { "classmap": [ "database" ], "psr-4": { "App\\": "app/", "Database\\Factories\\": "database/factories/", "Database\\Seeders\\": "database/seeders/" } }, "autoload-dev": { "classmap": [ "tests/TestCase.php", "tests/BrowserKitTestCase.php" ] }, "scripts": { "post-install-cmd": [ "php artisan clear-compiled", "php artisan optimize", "php artisan telescope:install" ], "pre-update-cmd": [ "php artisan clear-compiled" ], "post-update-cmd": [ "php artisan optimize", "php artisan ide-helper:generate", "composer require laravel/ui", "php artisan telescope:install" ], "post-root-package-install": [ "php -r \"copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "php artisan key:generate" ] }, "config": { "preferred-install": "dist" } }