From 0d5e84d0b8a58bf35496fa8dde4216b64569a358 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 20 Apr 2017 17:44:18 +1200 Subject: [PATCH] FIX: Add PHP extension requirements to composer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will raise incompatibilities sooner rather than relying on the installer. GD is excluded from this as it’s a requirement of silverstripe/assets --- composer.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 402c5ea9c..d6022b7bb 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,6 @@ } ], "require": { - "php": ">=5.6.0", "composer/installers": "~1.0", "embed/embed": "^3.0", "league/flysystem": "~1.0.12", @@ -29,7 +28,18 @@ "symfony/config": "^2.8", "symfony/translation": "^2.8", "symfony/yaml": "~2.7", - "vlucas/phpdotenv": "^2.4" + "vlucas/phpdotenv": "^2.4", + + "php": ">=5.6.0", + "ext-intl": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-simplexml": "*", + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-ctype": "*", + "ext-hash": "*", + "ext-session": "*" }, "require-dev": { "phpunit/phpunit": "^5.7",