Composer使用旧包信息

时间:2017-09-13 10:34:30

标签: composer-php

我正在尝试安装此软件包:https://github.com/dachcom-digital/pimcore-formbuilder

当我这样做时,作曲家奇怪地在composer.jsonhttps://github.com/dachcom-digital/pimcore-formbuilder/blob/96ab9de/composer.json)中使用了更旧版本的包信息而忽略了主人。

我该如何解决这个问题? 我试图做的是没有任何运气:

composer cache-clear

composer require dachcom-digital/pimcore-formbuilder --prefer-source

更新,完整输出:

> rm -rf ~/.composer/cache
> composer clear-cache
Clearing cache (cache-dir): /Users/paveldubinin/.composer/cache
Cache directory does not exist (cache-files-dir): 
Cache directory does not exist (cache-repo-dir): 
Cache directory does not exist (cache-vcs-dir): 
All caches cleared.
> ~/composertest  composer require dachcom-digital/members:dev-master --prefer-source
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing dachcom-digital/members (dev-master 4a80071) Cloning 4a80071560 from cache
Writing lock file
Generating autoload files

1 个答案:

答案 0 :(得分:0)

好的,所以他们改变了packagist上的包名:

dachcom-digital/pimcore-formbuilder - > dachcom-digital/formbuilder

但是github上的回购仍然是一样的,所以很令人困惑。