Symfony2 stop Composer installing parameters.yml.dist into parameters.yml

Remove this line twice from your composer.json: “Incenteev\\ParameterHandler\\ScriptHandler::buildParameters”, This is done by the IncenteevParameterHandler library, which contains a script that does this. By removing the script from the config, it will never be called. If you remove that line for ever, you can also remove these lines (as the library isn’t really needed anymore): “incenteev/composer-parameter-handler”: … Read more

How to solve two packages requirements conflicts when running composer install?

The basic problem here is the use of branches (dev-master) instead of tagged versions. Using branches is very likely to end in problems. I am watching the Composer questions on Stackoverflow, and every time someone reports trouble with packages, they are using development branches and “minimum-stability:dev” 99% of the time. What’s happening? I must assume … Read more

Can’t get composer “path” repository to work

I posted the issue on Github as well and it turns out that the documentation is a little misleading. It says: { “repositories”: [ { “type”: “path”, “url”: “../../packages/my-package” } ], “require”: { “my/package”: “*” } } However, if you just have a local repo without releases, you have to use: { “repositories”: [ { … Read more

installing laravel –prefer-dist

–prefer-dist and –prefer-source are the two options of composer which included in various documentations with a lack of proper explanation. –prefer-dist would try to download and unzip archives of the dependencies using GitHub or another API when available. This is used for faster downloading of dependencies in most cases. It doesn’t download the whole VCS … Read more

How would I only update one composer dependency?

The command composer update videlalvaro/php-amqplib does just update that dependency. However it doesn’t disable the other dependency checking that Composer does. What the error message is complaining about is that the lib-icu is not available on your system. Apparently this would be solved by installing the PHP Intl extension. You would see similar issues if … Read more