[英]Composer package could not be found
Ok Composer is doing my head in. Ok作曲家正在努力。
I have created a test Package and have pushed to github. 我创建了一个测试包,并推送到github。 When I am trying to bring in that package I am getting error: The requested package weblee/travelparkingapps could not be found in any version, there may be a typo in the package name.
当我尝试引入该软件包时,我收到错误消息:在任何版本中都找不到所请求的软件包weblee / travelparkingapps,软件包名称中可能有错字。
The package composer file is 软件包编写器文件为
{ "name": "weblee/travelparkingapps", "description" : "TravelParkingApps Library ", "keywords": ["parking", "api"], "license": "MIT", "version": "0.1.0", "authors": [ { "name" : "Lee Smith", "email" : "lee@weblee.co.uk", "homepage" : "https://github.com/weblee/", "role" : "Developer" } ], "require": { "php" : ">=5.3.0" }, "require-dev": { "phpunit/phpunit" : "4.*" }, "autoload": { "psr-4": { "TravelParkingApps\\\\": "src" } } }
My local composer file is: 我的本地作曲家文件是:
{ "minimum-stability": "dev", "require": { "weblee/travelparkingapps": "0.1.*" }, "autoload": { "psr-4": { "Apm\\\\": "src/" } } }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.