我的应用程序在Laravel 5.6中,需要缓存一些模型。我发现只有一个包可以提供此功能(genealabs/laravel model caching),但它需要包Illumb/cache 8.0。*与其他要求相冲突的要求:
问题1
有没有办法找出它与哪个包冲突?
我的composer.json要求是:
"require": {
"php": "^7.1.3",
"ext-curl": "*",
"ext-intl": "*",
"ext-json": "*",
"anouar/paypalpayment": ">=3.0",
"barryvdh/laravel-dompdf": "^0.8.6",
"barryvdh/laravel-ide-helper": "^2.5",
"bugsnag/bugsnag-laravel": "^2.0",
"fideloper/proxy": "^4.0",
"gloudemans/shoppingcart": "^2.5",
"guzzlehttp/psr7": "^1.6",
"hazestudio/laravel-gopay-sdk": "^0.1.5",
"laravel/framework": "5.6.*",
"laravel/tinker": "^1.0",
"predis/predis": "^1.1",
"tcg/voyager": "^1.3"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.4",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
}
事先非常感谢您的帮助。
我认为存在软件包版本问题。您需要找到laravel 5.6支持的genealabs/laravel模型缓存版本*