Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ap3twe's avatar

Vapor cli installation error

I get Installation request for laravel/vapor-cli ^1.9 -> satisfiable by laravel/vapor-cli[v1.9.0, v1.9.1, v1.9.2]. - Conclusion: don't install illuminate/container v5.8.36

    - Can only install one of: illuminate/container[v8.0.3, v5.8.36].
    - Can only install one of: illuminate/container[v8.0.4, v5.8.36].
    - Can only install one of: illuminate/container[v8.1.0, v5.8.36].
    - Can only install one of: illuminate/container[v8.2.0, v5.8.36].
    - Can only install one of: illuminate/container[v8.3.0, v5.8.36].

Environment Laravel Version 6 Php 7.4

0 likes
9 replies
Ap3twe's avatar

@sinnbeck

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.1.3",
        "fideloper/proxy": "^4.0",
        "intervention/image": "^2.4",
        "laravel/framework": "^6.0",
        "laravel/horizon": "^3.4",
        "laravel/tinker": "^1.0",
        "laravel/vapor-cli": "^1.9",
        "league/flysystem-aws-s3-v3": "^1.0",
        "predis/predis": "^1.1"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "laravel/telescope": "^2.0",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^3.0",
        "phpunit/phpunit": "^7.5",
        "squizlabs/php_codesniffer": "^3.5"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\Foundation\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    }
}
Sinnbeck's avatar

And what command did you use to install?

Ap3twe's avatar

composer global require laravel/vapor-cli

Sinnbeck's avatar

Ok I assume that the composer.json is from the local project and not global? Either find that one and post instead, or install it locally to the project

Ap3twe's avatar

Yeah is locally project. I tried composer require laravel/vapor-cli, I get PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223 I have to increase memeory size?

Sinnbeck's avatar

Yeah give that a try. What development environment are you using?

Please or to participate in this conversation.