我正在尝试安装tomcorbett / opentok-laravel包。我遇到了那个错误。
$ composer update
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
- Conclusion: remove laravel/framework v5.6.12
- Conclusion: don't install laravel/framework v5.6.12
- Conclusion: don't install laravel/framework v5.6.11
- Conclusion: don't install laravel/framework v5.6.10
- Conclusion: don't install laravel/framework v5.6.9
- Conclusion: don't install laravel/framework v5.6.8
- Conclusion: don't install laravel/framework v5.6.7
- Conclusion: don't install laravel/framework v5.6.6
- Conclusion: don't install laravel/framework v5.6.5
- Conclusion: don't install laravel/framework v5.6.4
- Conclusion: don't install laravel/framework v5.6.3
- Conclusion: don't install laravel/framework v5.6.2
- Installation request for tomcorbett/opentok-laravel dev-master -> satisfiable by tomcorbett/opentok-laravel[dev-master].
- Conclusion: don't install laravel/framework v5.6.1
- Conclusion: don't install laravel/framework v5.6.0
... and goes on
我的composer.json是
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"hamog/captcha": "^1.2",
"laravel/framework": "5.6.*",
"laravel/socialite": "^3.0",
"laravel/tinker": "^1.0",
"nexmo/laravel": "^1.1",
"santigarcor/laratrust": "5.0.*",
"tomcorbett/opentok-laravel": "dev-master"
},
"require-dev": {
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
},
and goes on..
我无法解决这个问题。我非常搜索,但没有任何关于它。这是作曲家问题还是包装问题。请帮我。我是PHP的新手
答案 0 :(得分:1)
根据composer.json
(https://github.com/tomcorbett/opentok-laravel/blob/master/composer.json)的tomcorbett/opentok-laravel
文件判断,该程序包仅支持Laravel 5.0-5.4,而您composer.json
中需要Laravel 5.6。