From 271d2eba6e7b7cc7c4a274d88f6a2ce1953dc4f0 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Tue, 17 Feb 2026 20:56:39 +0700 Subject: [PATCH] chore: Add predis/predis package for Redis support in the project --- composer.json | 3 ++- composer.lock | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 66 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index a8d758f..f06ebc5 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,8 @@ "filament/filament": "^4.0", "filament/spatie-laravel-media-library-plugin": "^4.0", "laravel/framework": "^12.0", - "laravel/tinker": "^2.10.1" + "laravel/tinker": "^2.10.1", + "predis/predis": "^3.4" }, "require-dev": { "fakerphp/faker": "^1.23", diff --git a/composer.lock b/composer.lock index fc0d987..2ecbfe4 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": "afdedb25ca1b6258e183ae11c0cb817e", + "content-hash": "c013ddc26608fec244418e2f6cf36de2", "packages": [ { "name": "akaunting/laravel-money", @@ -4892,6 +4892,69 @@ }, "time": "2021-08-15T12:53:48+00:00" }, + { + "name": "predis/predis", + "version": "v3.4.0", + "source": { + "type": "git", + "url": "https://github.com/predis/predis.git", + "reference": "1183f5732e6b10efd33f64984a96726eaecb59aa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/predis/predis/zipball/1183f5732e6b10efd33f64984a96726eaecb59aa", + "reference": "1183f5732e6b10efd33f64984a96726eaecb59aa", + "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.4.0" + }, + "funding": [ + { + "url": "https://github.com/sponsors/tillkruss", + "type": "github" + } + ], + "time": "2026-02-11T17:30:28+00:00" + }, { "name": "psr/clock", "version": "1.0.0",