summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..48c05e5
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,44 @@
+{
+ "name": "predis/predis",
+ "type": "library",
+ "description": "Flexible and feature-complete Redis client for PHP and HHVM",
+ "keywords": ["nosql", "redis", "predis"],
+ "homepage": "http://github.com/nrk/predis",
+ "license": "MIT",
+ "support": {
+ "issues": "https://github.com/nrk/predis/issues"
+ },
+ "authors": [
+ {
+ "name": "Daniele Alessandri",
+ "email": "suppakilla@gmail.com",
+ "homepage": "http://clorophilla.net"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.9",
+ "cweagans/composer-patches": "^1.6"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.8"
+ },
+ "suggest": {
+ "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol",
+ "ext-curl": "Allows access to Webdis when paired with phpiredis"
+ },
+ "autoload": {
+ "psr-4": {"Predis\\": "src/"}
+ },
+ "extra": {
+ "composer-exit-on-patch-failure": true,
+ "patches": {
+ "phpunit/phpunit-mock-objects": {
+ "Fix PHP 7 and 8 compatibility": "./tests/phpunit_mock_objects.patch"
+ },
+ "phpunit/phpunit": {
+ "Fix PHP 7 compatibility": "./tests/phpunit_php7.patch",
+ "Fix PHP 8 compatibility": "./tests/phpunit_php8.patch"
+ }
+ }
+ }
+}