'can't install cviebrock/eloquent-sluggable

I try install cviebrock/eloquent-sluggable

composer require cviebrock/eloquent-sluggable

and got error

  Problem 1
    - cviebrock/eloquent-sluggable[8.0.0, ..., 8.0.2] require illuminate/config ^8.0 -> found illuminate/config[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with anoth
er require.
    - Root composer.json requires cviebrock/eloquent-sluggable ^8.0 -> satisfiable by cviebrock/eloquent-sluggable[8.0.0, 8.0.1, 8.0.2].

How fix it?



Solution 1:[1]

May be you should install sluggable version according to your laravel version. Like- run this command for laravel version 7.00

      composer require cviebrock/eloquent-sluggable 7.00 

Solution 2:[2]

try this

composer require cviebrock/eloquent-sluggable *

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Md. Mahedi Hasan
Solution 2 Fatih Toprak