From 31c56e9121024e6d2d89f04ec50e429990cb1f9e Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Tue, 10 Mar 2020 10:05:46 +0800 Subject: [PATCH] remove predis --- .env.example | 2 +- composer.json | 1 - composer.lock | 52 +-------------------------------------------------- 3 files changed, 2 insertions(+), 53 deletions(-) diff --git a/.env.example b/.env.example index 13da3cab..e2fde3f9 100644 --- a/.env.example +++ b/.env.example @@ -38,7 +38,7 @@ CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_CONNECTION=sync -REDIS_CLIENT=predis +REDIS_CLIENT=phpredis REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 diff --git a/composer.json b/composer.json index 2d69679a..2bc5fe66 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,6 @@ "laravel/passport": "^8.4", "nesbot/carbon": "^2.0", "nunomaduro/collision": "^4.1", - "predis/predis": "~1.0", "rcrowe/twigbridge": "^0.11.3", "socialiteproviders/manager": "^3.5", "spatie/laravel-translation-loader": "^2.6", diff --git a/composer.lock b/composer.lock index 77cb1144..cbc075b0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3182ac0b67e29d577260b6730cde4c72", + "content-hash": "9a1ec74d320c8e4250aa93c311cb8a63", "packages": [ { "name": "blessing/filter", @@ -3004,56 +3004,6 @@ ], "time": "2020-02-25T04:16:50+00:00" }, - { - "name": "predis/predis", - "version": "v1.1.1", - "source": { - "type": "git", - "url": "https://github.com/nrk/predis.git", - "reference": "f0210e38881631afeafb56ab43405a92cafd9fd1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nrk/predis/zipball/f0210e38881631afeafb56ab43405a92cafd9fd1", - "reference": "f0210e38881631afeafb56ab43405a92cafd9fd1", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "require-dev": { - "phpunit/phpunit": "~4.8" - }, - "suggest": { - "ext-curl": "Allows access to Webdis when paired with phpiredis", - "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol" - }, - "type": "library", - "autoload": { - "psr-4": { - "Predis\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniele Alessandri", - "email": "suppakilla@gmail.com", - "homepage": "http://clorophilla.net" - } - ], - "description": "Flexible and feature-complete Redis client for PHP and HHVM", - "homepage": "http://github.com/nrk/predis", - "keywords": [ - "nosql", - "predis", - "redis" - ], - "time": "2016-06-16T16:22:20+00:00" - }, { "name": "psr/container", "version": "1.0.0",