Skip to content
Advertisement

Tag: composer-php

Force composer to require PHP Version between Version X and Version Y

we have a mix of different PHP versions running on your servers (max 5.3.5) and development machines (max 5.5.9). Now we ran into the problem that we did a “composer update” to get the latest Version of some external Bundles. Since your composer.json looks like we get some Bundles that required PHP 5.5. No problem on our dev machines, but

installing laravel –prefer-dist

I am following the Laravel installation on their website and I came across this line composer create-project laravel/laravel –prefer-dist Now, what exactly does the –prefer-dist part mean? I can’t see anything on their documentation. Thanks in advance. Answer It’s all available here: https://getcomposer.org/doc/03-cli.md#install –prefer-dist: Reverse of –prefer-source, composer will install from dist if possible. This can speed up installs substantially

Installing Composer OpenSSL Issue

I am trying to install composer however when I go to install it I get this error: I currently have php 5.4.31 and I am running WAMP2.2 I’ve checked my php.ini file in the bin/php/php5.4.31/ and ensured that the following line is uncommented: The error still resolves and I’m at a loss as to how I can fix it. As

Can’t install phpDocumentor via Composer

In composer.json I’ve got It’s what is there because I’m trying to install phpDocumentor into an isolated folder with ./composer.phar install command. But what I’m getting is Answer The error message indicates that you are missing the XSL extension in your PHP setup. You can see http://www.php.net/manual/en/xsl.installation.php for more information on installing that extension. Please note that the XSL extension

Composer loading from cache

i ran in a problem using composer for installing/uninstalling some dependencies in laravel which coming back after deleting them from composer.json and deleting their vendor folder, i initially used dflydev’s markdown package but now i wanted to change it to michelf’s php-markdown, but i cant uninstall the old one since it comes back loaded from cache, which i checked at

Why composer can not find my brand new package on packagist.org?

I’ve just created my first component on packagist.org, this is a forked version of greensock-js. I put “components/greensock-js”: “1.11.*@dev” into the require section of my composer.json file, but the issue is composer can’t find this package, saying no matching package found. What did I do wrong? Answer It is now working fine: Most likely you just lacked some patience 🙂

Advertisement