se7enxweb/sevenx_valkey
最新稳定版本:v1.0.2
Composer 安装命令:
composer require se7enxweb/sevenx_valkey
包简介
eZ Publish Legacy extension which provides a simple solution for extending the default eZ Publish to provide for Valkey, DragonflyDB, Redis Database support. Great for smart developers!
关键字:
README 文档
README
sevenx_valkey is an extension that allows the integration of the Redis Compabible Databases like Valkey, Redis, DragonflyDB to be accessed in your eZ Publish Templates and Modules.
Version: 1.0.0
About Valkey
Valkey is an open source key-value data store that supports a variety of workloads such as caching, and message queues. Valkey GLIDE is one of the official client libraries for Valkey and it supports all Valkey commands. GLIDE supports Valkey 7.2 and above, and Redis open source 6.2, 7.0, and 7.2.
From: https://valkey.io/
php-redis php extension
A PHP extension for Redis and other compatible key / value store databases.
This software is required and must be installed before using this solution.
From: https://github.com/phpredis/phpredis
Use Cases
Here are some common use cases:
Session Storage.
Caching.
Real-time Recommendations.
Leaderboards and Counting.
User Profiles and Preferences.
Queueing Systems.
IoT and Time-Series Data.
Configuration Management.
Installation
Follow these steps to add the sevenx_valkey template operator extension to your eZ publish installation:
-
Extract the archive into the extension/ directory
-
Edit site.ini.append.php in settings/override/. Add the following to the file:
[ExtensionSettings] ActiveExtensions[]=sevenx_valkey
If you already have the [ExtensionSettings] block, just add the second line.
-
Edit extension/settings/valkey.ini.append.php and edit the default host IP Address and Port only if needed.
-
Use the valkey operator in your eZ Publish Templates to get and set database stored values.
-
Clear Cache
Usage
To use, simply add the valkey operator to your templates as needed to get and set data into the valkey / redis database.
{valkey('set', array( 'testkey', 'Greetings from 7x Valkey!' ))}
{valkey('get', array( 'testkey' ))|attribute(show,1)}
License
This file may be distributed and/or modified under the terms of the "GNU General Public License" version 2 as published by the Free Software Foundation
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The "GNU General Public License" (GPL) is available at http://www.gnu.org/copyleft/gpl.html.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 3
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-08-31