无法在 Laravel 5.8 中安装 Spatie Activity-log 包
Can't install Spatie Activity-log Package in Laravel 5.8
我打算在我的 laravel 应用程序中安装 spatie-activitylog 包。
composer require spatie/laravel-activitylog
但是我遇到了这个错误。
Problem 1
- Conclusion: remove laravel/framework v5.8.37
- Conclusion: don't install laravel/framework v5.8.37
- spatie/laravel-activitylog 3.14.0 requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[7.x-dev], illuminate/support[6.x-dev, 7.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0
.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0, v6.13.1, v6.14.0, v6.15.0, v6.15.1, v6.16.0, v6.17.0, v6.17.1, v6.18.0, v6.18.1, v6.18.2, v6.18.3, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6
.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0]
.
- spatie/laravel-activitylog 3.14.1 requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[7.x-dev], illuminate/support[6.x-dev, 7.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0
.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0, v6.13.1, v6.14.0, v6.15.0, v6.15.1, v6.16.0, v6.17.0, v6.17.1, v6.18.0, v6.18.1, v6.18.2, v6.18.3, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6
.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0]
.
- Can only install one of: laravel/framework[7.x-dev, v5.8.37].
- don't install illuminate/support 6.x-dev|don't install laravel/framework v5.8.37
- don't install illuminate/support 7.x-dev|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.4|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.1.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.10.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.11.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.12.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.13.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.13.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.14.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.15.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.15.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.16.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.17.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.17.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.2.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.3.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.4.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.5.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.5.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.5.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.6.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.6.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.6.2|don't install laravel/framework v5.8.37
- don't install illuminat
e/support v6.7.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.8.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.4|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.5|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.6|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.7|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.8|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.2.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.2.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.2.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.3.0|don't install laravel/framework v5.8.37
- Installation request for laravel/framework (locked at v5.8.37, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.37].
- Installation request for spatie/laravel-activitylog ^3.14 -> satisfiable by spatie/laravel-activitylog[3.14.0, 3.14.1].
此软件包不再支持 laravel 5.8?
我认为 Laravel 5.8 并没有那么老。
我应该使用最新版本的 Laravel 7.0 吗?
有没有支持laravel 5.8的版本?
实际上 Spatie 的活动日志不再支持 Laravel 5.8。
这就是 composer.json
中指定的内容:
"illuminate/config": "^6.0|^7.0",
"illuminate/database": "^6.0|^7.0",
"illuminate/support": "^6.0|^7.0"
我建议您升级到最新版本 Laravel。添加了许多有用的功能。
轻松安装在我的 Laravel 5.8.35
composer require spatie/laravel-activitylog "^3.9.1"
您始终可以检查 Packagist 中任何软件包的 requires 部分(兼容性)与您的 Laravel/PHP 版本等
我打算在我的 laravel 应用程序中安装 spatie-activitylog 包。
composer require spatie/laravel-activitylog
但是我遇到了这个错误。
Problem 1
- Conclusion: remove laravel/framework v5.8.37
- Conclusion: don't install laravel/framework v5.8.37
- spatie/laravel-activitylog 3.14.0 requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[7.x-dev], illuminate/support[6.x-dev, 7.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0
.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0, v6.13.1, v6.14.0, v6.15.0, v6.15.1, v6.16.0, v6.17.0, v6.17.1, v6.18.0, v6.18.1, v6.18.2, v6.18.3, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6
.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0]
.
- spatie/laravel-activitylog 3.14.1 requires illuminate/support ^6.0|^7.0 -> satisfiable by laravel/framework[7.x-dev], illuminate/support[6.x-dev, 7.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0
.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0, v6.13.1, v6.14.0, v6.15.0, v6.15.1, v6.16.0, v6.17.0, v6.17.1, v6.18.0, v6.18.1, v6.18.2, v6.18.3, v6.2.0, v6.3.0, v6.4.1, v6.5.0, v6
.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0]
.
- Can only install one of: laravel/framework[7.x-dev, v5.8.37].
- don't install illuminate/support 6.x-dev|don't install laravel/framework v5.8.37
- don't install illuminate/support 7.x-dev|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.0.4|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.1.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.10.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.11.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.12.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.13.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.13.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.14.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.15.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.15.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.16.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.17.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.17.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.18.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.2.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.3.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.4.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.5.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.5.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.5.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.6.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.6.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.6.2|don't install laravel/framework v5.8.37
- don't install illuminat
e/support v6.7.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v6.8.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.4|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.5|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.6|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.7|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.0.8|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.1.3|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.2.0|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.2.1|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.2.2|don't install laravel/framework v5.8.37
- don't install illuminate/support v7.3.0|don't install laravel/framework v5.8.37
- Installation request for laravel/framework (locked at v5.8.37, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.37].
- Installation request for spatie/laravel-activitylog ^3.14 -> satisfiable by spatie/laravel-activitylog[3.14.0, 3.14.1].
此软件包不再支持 laravel 5.8? 我认为 Laravel 5.8 并没有那么老。 我应该使用最新版本的 Laravel 7.0 吗? 有没有支持laravel 5.8的版本?
实际上 Spatie 的活动日志不再支持 Laravel 5.8。
这就是 composer.json
中指定的内容:
"illuminate/config": "^6.0|^7.0",
"illuminate/database": "^6.0|^7.0",
"illuminate/support": "^6.0|^7.0"
我建议您升级到最新版本 Laravel。添加了许多有用的功能。
轻松安装在我的 Laravel 5.8.35
composer require spatie/laravel-activitylog "^3.9.1"
您始终可以检查 Packagist 中任何软件包的 requires 部分(兼容性)与您的 Laravel/PHP 版本等