Level 73
Hey @kanchan77, I am just curious if you have ever used Google? Or tried to read the error yourself and try to find what really the problem is before posting?
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
error: while run->
composer require spatie/laravel-permission
Problem 1
- Root composer.json requires fideloper/proxy ^4.0, found fideloper/proxy[4.0.0, ..., 4.4.1] but the package is fixed to 3.3.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 2
- Root composer.json requires laravel/framework ^5.8.0, found laravel/framework[v5.8.0, ..., 5.8.x-dev] but the package is fixed to v5.5.50 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 3
- Root composer.json requires symfony/translation 4.3.8, found symfony/translation[v4.3.8] but the package is fixed to v4.3.11 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 4
- Root composer.json requires phpunit/phpunit ^7.0, found phpunit/phpunit[7.0.0, ..., 7.5.20] but the package is fixed to 6.5.14 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 5
- Root composer.json requires spatie/laravel-permission ^4.2 -> satisfiable by spatie/laravel-permission[4.2.0].
- spatie/laravel-permission 4.2.0 requires illuminate/auth ^6.0|^7.0|^8.0 -> found illuminate/auth[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
Problem 6
- laravel/socialite[v4.3.0, ..., v4.4.1] require illuminate/http ~5.7.0|~5.8.0|^6.0|^7.0 -> found illuminate/http[v5.7.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires laravel/socialite ^4.3 -> satisfiable by laravel/socialite[v4.3.0, ..., v4.4.1].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Please or to participate in this conversation.