se7enxweb/sevenx_valkey
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.
se7enxweb/sevenx_valkey 适用场景与选型建议
se7enxweb/sevenx_valkey 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 2, 最近一次更新时间为 2024 年 08 月 31 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「redis」 「extension」 「ez publish」 「eZ Publish Legacy」 「eZ Publish Platform」 「valkey」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 se7enxweb/sevenx_valkey 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 se7enxweb/sevenx_valkey 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 se7enxweb/sevenx_valkey 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Microservice RPC through message queues.
A custom URL rule class for Yii 2 which allows to create translated URL rules
Rabbitevents common package
A Laravel Eloquent model trait for publishable resource
Book publishing application
The Publisher component of the RabbitEvents package.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 4
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-08-31