我不斷收到錯誤,當我鍵入composer require spatie/laravel-backup
作曲家需要spatie/laravel備份
Nessrines-MacBook-Pro-2:tfw nessrine$ composer require spatie/laravel-backup
Using version ^4.16 for spatie/laravel-backup ./composer.json has been updated
> php artisan clear-compiled
The compiled services file has been removed.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.Problem 1 - Installation request for spatie/laravel-backup ^4.16 -> satisfiable by spatie/laravel-backup[4.16.0]. - Conclusion: remove spatie/db-dumper 1.5.1 - Conclusion: don't install spatie/db-dumper 1.5.1 - spatie/laravel-backup 4.16.0 requires spatie/db-dumper ^2.6 -> satisfiable by spatie/db-dumper[2.6.0, 2.6.1, 2.7.0]. - Can only install one of: spatie/db-dumper[2.6.0, 1.5.1]. - Can only install one of: spatie/db-dumper[2.6.1, 1.5.1]. - Can only install one of: spatie/db-dumper[2.7.0, 1.5.1]. - Installation request for spatie/db-dumper (locked at 1.5.1) -> satisfiable by spatie/db-dumper[1.5.1].
Installation failed, reverting ./composer.json to its original content. Nessrines-MacBook-Pro-2:tfw nessrine$ composer require spatie/laravel-backup’
你有福填寫這裏提到的所有要求..?https://docs.spatie.be/laravel-backup/v4/requirements –
如何檢查。? –
您可能有另一個需要db-dumper版本1.5.x的軟件包,它與此版本衝突。您應該檢查composer.json中的每個必需包,以確保它們與laravel-backup兼容。 – apokryfos