diff --git a/.env.example b/.env.example index 3db70e88b..b8143931e 100644 --- a/.env.example +++ b/.env.example @@ -42,7 +42,7 @@ CACHE_PREFIX=torrentpier_ MEMCACHED_HOST=127.0.0.1 -REDIS_CLIENT=phpredis +REDIS_CLIENT=predis REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 diff --git a/composer.json b/composer.json index 5b679b305..259a307f4 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,7 @@ "inertiajs/inertia-laravel": "^2.0", "laravel/framework": "^12.0", "laravel/tinker": "^2.10.1", + "predis/predis": "^3.0", "tightenco/ziggy": "^2.4" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 3d25856c6..7998b15d5 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": "992ee6dfca60c4e7fa94d4256e4cbcb5", + "content-hash": "bd870aeaa995bff99f322fff10c7402c", "packages": [ { "name": "brick/math", @@ -2650,6 +2650,69 @@ ], "time": "2024-07-20T21:41:07+00:00" }, + { + "name": "predis/predis", + "version": "v3.0.1", + "source": { + "type": "git", + "url": "https://github.com/predis/predis.git", + "reference": "34fb0a7da0330df1bab4280fcac4afdeeccc3edf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/predis/predis/zipball/34fb0a7da0330df1bab4280fcac4afdeeccc3edf", + "reference": "34fb0a7da0330df1bab4280fcac4afdeeccc3edf", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0", + "psr/http-message": "^1.0|^2.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.3", + "phpstan/phpstan": "^1.9", + "phpunit/phpcov": "^6.0 || ^8.0", + "phpunit/phpunit": "^8.0 || ~9.4.4" + }, + "suggest": { + "ext-relay": "Faster connection with in-memory caching (>=0.6.2)" + }, + "type": "library", + "autoload": { + "psr-4": { + "Predis\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Till Krüss", + "homepage": "https://till.im", + "role": "Maintainer" + } + ], + "description": "A flexible and feature-complete Redis/Valkey client for PHP.", + "homepage": "http://github.com/predis/predis", + "keywords": [ + "nosql", + "predis", + "redis" + ], + "support": { + "issues": "https://github.com/predis/predis/issues", + "source": "https://github.com/predis/predis/tree/v3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/tillkruss", + "type": "github" + } + ], + "time": "2025-05-16T18:30:32+00:00" + }, { "name": "psr/clock", "version": "1.0.0",