From 3fdfbe11f66ae109c507390345ff1c21e387726f Mon Sep 17 00:00:00 2001 From: Ian Littman Date: Sat, 11 May 2019 13:37:22 -0500 Subject: [PATCH] Explicitly require ext-json Makes phpstorm happier; take or leave --- README.md | 2 +- composer.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d5fd215..85a5c590 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The following versions of PHP are supported: * PHP 7.1 * PHP 7.2 -The `openssl` extension is also required. +The `openssl` and `json` extensions are also required. All HTTP messages passed to the server should be [PSR-7 compliant](https://www.php-fig.org/psr/psr-7/). This ensures interoperability with other packages and frameworks. diff --git a/composer.json b/composer.json index 48a95701..f8a2160f 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,8 @@ "league/event": "^2.1", "lcobucci/jwt": "^3.2.2", "psr/http-message": "^1.0.1", - "defuse/php-encryption": "^2.1" + "defuse/php-encryption": "^2.1", + "ext-json": "*" }, "require-dev": { "phpunit/phpunit": "^6.3 || ^7.0",