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

dpakagarwal's avatar

composer require cviebrock/eloquent-sluggable:^2.1 installing issue

After firing

composer require cviebrock/eloquent-sluggable:^8.0

command, it got me error as below:

[InvalidArgumentException]                                                                       
  Package cviebrock/eloquent-sluggable at version 8.0 has requirements incompatible with your PHP version, PHP extensions and Composer version:                                                  
    - cviebrock/eloquent-sluggable 8.0.0 requires php ^7.3 which does not match your installed version 8.0.13.

can anyone tell me the exact version compatible with this below feature

"name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "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"
    },
0 likes
3 replies

Please or to participate in this conversation.