Lecture 1 minute
Il n'est pas toujours possible d'obtenir les pré-requis d'une application construite autour de composer et notamment la version minimum de PHP nécessaire à son fonctionnement.
Voici une commande qui devrait vous aider :
1 |
composer why php |
Un exemple de résultat :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
ddeboer/data-import 0.19.1 requires php (>=5.4.0) doctrine/annotations v1.2.7 requires php (>=5.3.2) doctrine/cache v1.5.1 requires php (>=5.3.2) doctrine/collections v1.3.0 requires php (>=5.3.2) doctrine/common v2.5.1 requires php (>=5.3.2) doctrine/dbal v2.5.2 requires php (>=5.3.2) doctrine/doctrine-bundle 1.6.0 requires php (>=5.3.2) doctrine/doctrine-cache-bundle 1.2.2 requires php (>=5.3.2) doctrine/inflector v1.1.0 requires php (>=5.3.2) doctrine/instantiator 1.0.5 requires php (>=5.3,<8.0-DEV) doctrine/lexer v1.0.1 requires php (>=5.3.2) doctrine/orm v2.5.2 requires php (>=5.4) guzzlehttp/guzzle 6.2.1 requires php (>=5.5) guzzlehttp/promises 1.2.0 requires php (>=5.5.0) guzzlehttp/psr7 1.3.1 requires php (>=5.4.0) incenteev/composer-parameter-handler v2.1.2 requires php (>=5.3.3) jdorn/sql-formatter v1.2.17 requires php (>=5.2.4) jms/aop-bundle 1.2.0 requires php (>=5.3.9) jms/cg 1.1.0 requires php (>=5.3.0) jms/di-extra-bundle 1.7.1 requires php (~5.3|~7.0) jms/metadata 1.5.1 requires php (>=5.3.0) mmucklo/inflect v0.3.0 requires php (>=5.3.17) monolog/monolog 1.17.2 requires php (>=5.3.0) pagerfanta/pagerfanta v1.0.3 requires php (>=5.3.0) paragonie/random_compat 1.1.0 requires php (>=5.2.0) psr/http-message 1.0 requires php (>=5.3.0) sensio/distribution-bundle v5.0.0 requires php (>=5.3.9) swiftmailer/swiftmailer v5.4.1 requires php (>=5.3.3) symfony/framework-standard-edition - requires php (>=5.3.9) symfony/inflector v3.1.3 requires php (>=5.5.9) symfony/monolog-bundle v2.8.2 requires php (>=5.3.2) symfony/phpunit-bridge v2.7.7 requires php (>=5.3.9) symfony/polyfill-apcu v1.2.0 requires php (>=5.3.3) symfony/polyfill-intl-icu v1.0.0 requires php (>=5.3.3) symfony/polyfill-mbstring v1.0.0 requires php (>=5.3.3) symfony/polyfill-php54 v1.0.0 requires php (>=5.3.3) symfony/polyfill-php55 v1.0.0 requires php (>=5.3.3) symfony/polyfill-php56 v1.0.0 requires php (>=5.3.3) symfony/polyfill-php70 v1.0.0 requires php (>=5.3.3) symfony/polyfill-util v1.0.0 requires php (>=5.3.3) symfony/property-access v3.1.3 requires php (>=5.5.9) symfony/security-acl v2.7.7 requires php (>=5.3.9) symfony/swiftmailer-bundle v2.3.8 requires php (>=5.3.2) symfony/symfony v2.8.9 requires php (>=5.3.9) twig/twig v1.23.1 requires php (>=5.2.7) zendesk/zendesk_api_client_php v2.1.2 requires php (>=5.5.0) |
Dans ce cas, la version minimum de PHP supportée sera 5.5.9