提交我的第一个packagist包后,当我尝试在新的Laravel项目(v4.2)中使用它时遇到了问题。我的包composer.json
文件中有没有忘记添加/删除的内容?
我想使用我的新软件包但是得到了这个:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for enchance/messageman dev-master -> satisfiable by enchance/messageman[dev-master].
- Conclusion: remove laravel/framework v4.0.11
- Conclusion: don't install laravel/framework v4.0.11
- enchance/messageman dev-master requires illuminate/support 4.2.* -> satisfiable by illuminate/support[v4.2.1, v4.2.12, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
- don't install illuminate/support v4.2.1|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.12|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.16|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.17|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.2|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.3|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.4|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.5|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.6|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.7|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.8|don't install laravel/framework v4.0.11
- don't install illuminate/support v4.2.9|don't install laravel/framework v4.0.11
- Installation request for laravel/framework == 4.0.11.0 -> satisfiable by laravel/framework[v4.0.11].
我的包composer.json
{
"name": "enchance/messageman",
"description": "A simple message sending package for use within a system.",
"keywords": [
"laravel"
],
"authors": [
{
"name": "enchance",
"email": "enchance@gmail.com"
}
],
"license": "MIT License",
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.2.*"
},
"autoload": {
"classmap": [
"src/migrations"
],
"psr-0": {
"Enchance\\Messageman\\": "src/"
}
},
"minimum-stability": "stable"
}