In my composer.json i have a private vcs repository: When i call php composer.phar update i get the following: Doesnt matter how many time I put in my my github credentials it keeps asking. If i put in incorrect ones it does the same thing, no errors or max attempts. Any ideas what would cause this? I am using the
Tag: composer-php
How to deploy correctly when using Composer’s develop / production switch?
Composer has the option to load several dependencies only while being in development, so the tools will not be installed in production (on the live server). This is (in theory) very handy for scripts …
composer is ignoring installer-paths configuration
I’m try using CakePHP for the first time with composer, but I have some problems. I have this composer.json: When I run composer install (or update) –prefer-dist, everything works except smottt/wideimage. This package is being installed in the /Vendor folder instead /app/Vendor, so, installer-paths was ignored. Answer From the documentation. You cannot use this to change the path of any
How would I only update one composer dependency?
I expected that would only update one dependency, but instead of that it updates all. What am I missing? PS: this dependency is defined as “videlalvaro/php-amqplib”: “2.2.0” in composer.json PPS: the composer version used is 3da05c68f9561fa822c522b1815435ff990493ff 2013-10-02 14:25:06 PPPS: the actual output: Answer The command composer update videlalvaro/php-amqplib does just update that dependency. However it doesn’t disable the other dependency
composer does not generate autoload.php
i install composer for windows using this link http://getcomposer.org/download/ > http://getcomposer.org/Composer-Setup.exe my web server is WAMP php 5.4 with openssl enabled. i created composer.json with this code and run with this code in .php file and i got error Warning: require_once(vendor/autoload.php): failed to open stream how to get composer’s autoload.php? why composer does not generate it? how to use doctrine
How to run composer from anywhere?
I have just installed composer in my /usr/bin folder, so when from that folder I run php composer.phar I get the help info about composer. But, when I try to run the same from other folder I get Could not open input file: composer.phar. How to call php composer.phar from every where without problems? Answer composer.phar can be ran on