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

marto's avatar
Level 1

bumbummen shopping cart installation error on laravel 11.9

Greetings,

I am trying to install bumbumen99/shopping cart on laravel 11.9 but am getting the below error . Kindly assist

command: composer require bumbummen99/shoppingcart Error Received

Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version ./composer.json has been updated Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version Running composer update bumbummen99/shoppingcart Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - bumbummen99/shoppingcart[1.0, ..., 1.2.1] require illuminate/support ~4 -> found illuminate/support[v4.0.0, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart 1.3 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., v5.8.36] but these were not loaded, likely be cause it conflicts with another require. - bumbummen99/shoppingcart[2.0.0, ..., 2.1.2] require illuminate/support 5.1.|5.2. -> found illuminate/support[v5.1.1, ..., v5.2.45] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart[2.2.0, ..., 2.2.4] require illuminate/support 5.1.|5.2.|5.3.* -> found illuminate/support[v5.1.1, ..., v5.3.23] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart 2.3.0 requires illuminate/support 5.1.|5.2.|5.3.|5.4. -> found illuminate/support[v5.1.1, ..., v5.4.36] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart 2.4.0 requires illuminate/support 5.1.|5.2.|5.3.|5.4.|5.5.* -> found illuminate/support[v5.1.1, ..., v5.5.44] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart 2.5.0 requires illuminate/support 5.1.|5.2.|5.3.|5.4.|5.5.|5.6. -> found illuminate/support[v5.1.1, ..., v5.6.39] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart[2.6.0, ..., 2.7.7] require illuminate/support 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.* -> found illuminate/support[v5.1.1, ..., v5.7.28] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart[2.8.0, ..., 2.8.2] require illuminate/support 5.4.||5.5.||5.6.||5.7.||5.8.* -> found illuminate/support[v5.4.0, ..., v5 .8.36] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart 2.8.3 requires illuminate/support 5.4.||5.5.||5.6.||5.7.||5.8.||6.0. -> found illuminate/support[v5.4.0, ..., v5.8.36 , v6.0.0, ..., v6.0.4] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart[2.8.4, ..., 2.8.9] require illuminate/support 5.4.||5.5.||5.6.||5.7.||5.8.||^6.0 -> found illuminate/support[v5.4.0, . .., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart[2.9.0, ..., 2.9.1] require illuminate/support 5.4.||5.5.||5.6.||5.7.||5.8.||^6.0||^7.0 -> found illuminate/support[v5. 4.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart[2.10.0, 3.0.0, ..., 3.2.0, 4.0.0, ..., 4.1.0] require illuminate/support 5.4.||5.5.||5.6.||5.7.||5.8.||^6.0||^7.0||^8. 0 -> found illuminate/support[v5.4.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require. - bumbummen99/shoppingcart[4.1.1, ..., 4.2.0] require illuminate/support 5.4.||5.5.||5.6.||5.7.||5.8.||^6.0||^7.0||^8.0||^9.0 -> found illuminate /support[v5.4.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likel y because it conflicts with another require. .2.0, 4.0.0, 4.1.0, 4.1.1, 4.2.0].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require bumbummen99/shoppingcart:*" to figure out if any version is installable, or "composer require bumbummen99/shoppingcart:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Composer.json file

{ "name": "laravel/laravel", "type": "project", "description": "The skeleton application for the Laravel framework.", "keywords": ["laravel", "framework"], "license": "MIT", "require": { "php": "^8.2", "haruncpi/laravel-id-generator": "^1.1", "intervention/image": "^3.7", "intervention/image-laravel": "^1.3", "laravel/framework": "^11.9", "laravel/tinker": "^2.9", "maatwebsite/excel": "^3.1", "picqer/php-barcode-generator": "^2.4" }, "require-dev": { "fakerphp/faker": "^1.23", "laravel/breeze": "^2.1", "laravel/pint": "^1.13", "laravel/sail": "^1.26", "mockery/mockery": "^1.6", "nunomaduro/collision": "^8.0", "pestphp/pest": "^2.0", "pestphp/pest-plugin-laravel": "^2.0" },

"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",
        "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
        "@php artisan migrate --graceful --ansi"
    ]
},
"extra": {
    "laravel": {
        "dont-discover": []
    }
},
"config": {
    "optimize-autoloader": true,
    "preferred-install": "dist",
    "sort-packages": true,
    "allow-plugins": {
        "pestphp/pest-plugin": true,
        "php-http/discovery": true
    }
},
"minimum-stability": "stable",
"prefer-stable": true

}

Please assist

0 likes
2 replies
marto's avatar
Level 1

@Tray2 Thank you for the response i have managed to install the anayarojo/shoppingcart . You have been very instrumental

1 like

Please or to participate in this conversation.