From a32a2023019caa80cd53e182f85ab207e212f4fc Mon Sep 17 00:00:00 2001 From: Gert de Pagter Date: Mon, 23 Apr 2018 18:30:10 +0200 Subject: [PATCH] Add a polyfil for ctype This deals with #142 by adding a polyfil for the ctype functions instead of failing an install. The only downside for end users is that their version is slightly slower if the run without ctype. But it does allow them to run it. --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 07e71bd..e1de8c5 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,8 @@ }, "require": { "php": "^5.4 || ^7.0", - "paragonie/random_compat": "^1.0|^2.0" + "paragonie/random_compat": "^1.0|^2.0", + "backendtea/ctype-compat": "^0.1.0" }, "require-dev": { "moontoast/math": "^1.1",