=8.1.0". There is 8.1.3 on the PHP server when I want to add the library" vladimir-yuldashev/laravel-queue-rabbitmq" Composer.json: {"name":"lara"> Your platform is experiencing a problem detected by Composer. PHP 8.1-PHP Chinese Network Q&A
Your platform is experiencing a problem detected by Composer. PHP 8.1
P粉833546953
P粉833546953 2023-11-06 18:01:25
0
1
646

There is a problem with my application. When I run "composer install" I get the error "Composer detected a problem in your platform: Your Composer dependency requires PHP version ">= 8.1.0". There is8.1.3

on the PHP server

Problem occurs when I want to add library "vladimir-yuldashev/laravel-queue-rabbitmq"

Composer.json:

{ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "require": { "php": "^7.3|^8.0", "doctrine/dbal": "^3.3", "fabpot/goutte": "^4.0", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", "illuminate/queue": "*", "laravel/framework": "^8.75", "laravel/sanctum": "^2.11", "laravel/tinker": "^2.5", "laravel/ui": "^3.4", "maatwebsite/excel": "^3.1", "vladimir-yuldashev/laravel-queue-rabbitmq": "*" }, "require-dev": { "facade/ignition": "^2.5", "fakerphp/faker": "^1.9.1", "laravel/sail": "^1.0.1", "mockery/mockery": "^1.4.4", "nunomaduro/collision": "^5.10", "phpunit/phpunit": "^9.5.10" }, "autoload": { "psr-4": { "App\": "app/", "Database\Factories\": "database/factories/", "Database\Seeders\": "database/seeders/" } }, "autoload-dev": { "psr-4": { "Tests\": "tests/" } }, "scripts": { "post-autoload-dump": [ "Illuminate\Foundation\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], "post-update-cmd": [ "@php artisan vendor:publish --tag=laravel-assets --ansi --force" ], "post-root-package-install": [ "@php -r "file_exists('.env') || copy('.env.example', '.env');"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] }, "extra": { "laravel": { "dont-discover": [] } }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true }, "minimum-stability": "dev", "prefer-stable": true }


P粉833546953
P粉833546953

reply all (1)
P粉378890106

PHP 8.1.12 works for me. This is the latest updated version. If you have multiple PHP versions, enable the exact 8.1.12

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!