Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 编写器在Packagist之前使用Github_Php_Symfony_Composer Php - Fatal编程技术网

Php 编写器在Packagist之前使用Github

Php 编写器在Packagist之前使用Github,php,symfony,composer-php,Php,Symfony,Composer Php,我在这里做了一个叉子。我想在Symfony2项目中使用FOSRestBundle的fork和分支 为了尝试这一点,我对symfony2项目composer.json进行了如下修补(完整): 运行composer update时,我收到以下错误消息: Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Pro

我在这里做了一个叉子。我想在Symfony2项目中使用FOSRestBundle的fork和分支

为了尝试这一点,我对symfony2项目
composer.json
进行了如下修补(完整):

运行
composer update
时,我收到以下错误消息:

Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package friendsofsymfony/rest-bundle dev-411 could not be found.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
更新依赖项(包括需要开发)
无法将您的需求解析为可安装的软件包集。
问题1
-找不到请求的包friendsofsymfony/rest捆绑包dev-411。
潜在原因:
-软件包名称中的输入错误
-根据您的最低稳定性设置,该软件包没有足够稳定的版本
有关更多详细信息,请参阅。
阅读了解更多常见问题。
我的配置有什么问题吗?

试试这个:
“friendsofsymfony/rest捆绑包”:“0.11.dev功能/411”


这里有更多信息:

Composer在分支名称前加上前缀
dev-
,以便清楚地识别它们,因此,如果分支是
dev-411
,那么它的编写器版本将是
dev-dev-411

尝试了你的(
0.11.dev-feature/411
),然后在阅读了这些问题之后,我又尝试了一些(
dev-feature/411
). 我甚至创造了一个分支的名称。没有骰子。同样的错误。
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package friendsofsymfony/rest-bundle dev-411 could not be found.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.