From e8b5911126a5e905c392849e421c5ea462d53fa2 Mon Sep 17 00:00:00 2001 From: hidehalo Date: Mon, 11 Sep 2017 17:01:59 +0800 Subject: [PATCH] Improve random_btyes compatiable for PHP 5.x --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7bf9f5a..560172c 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,8 @@ } ], "require": { - "php" : "~5.6|~7.0" + "php": "~5.6|~7.0", + "paragonie/random_compat": "^2.0" }, "require-dev": { "phpunit/phpunit" : ">=5.4.3",