I would like to offer users of my composer package an interface to select and install any of the suggested packages. There seems to be no command line option, and in the API I can only find a …
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
How do I create a project based on a specific version of Symfony using composer?
I want to create a project based on Symfony 2.4.6. These commands: ../composer.phar create-project symfony/framework-standard-edition=v2.4.6 ./ ../composer.phar create-project symfony/framework-…
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
laravel class not found (works on localhost but not on DO server)
This is a repeat question – eg: Laravel 4 migrations – class not found However, I’ve tried every solution (from every forum I could find) and cannot figure this out. Scenario I created a Laravel 4 project on my local machine – added some classes, controllers, views, etc – the project works great. I then copy this fresh repo onto
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 🙂
How do I install / enable the PHP phar extension?
I am trying to install Composer on my KnownHost VPS. When I run this command: I get this error message: How do I install the phar extension? I am running PHP 5.4.22 on my VPS. Answer In the end I solved this by getting my host to rebuild PHP with PDO support.