承接 dimafe6/redis-compressed-cache 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dimafe6/redis-compressed-cache

最新稳定版本:v1.0.1

Composer 安装命令:

composer require dimafe6/redis-compressed-cache

包简介

Laravel cache driver with compression.

README 文档

README

This driver provides ability to compress and decompress Redis data.

Installation

You can install the package via composer:

composer require dimafe6/redis-compressed-cache

You can publish the config file with:

php artisan vendor:publish --tag="redis-compressed-cache-config"

This is the contents of the published config file:

return [
    'prefix'          => config('cache.prefix'),
    'connection'      => env('REDIS_COMPRESSED_CACHE_CONNECTION', 'cache'),
    'lock_connection' => env('REDIS_COMPRESSED_CACHE_LOCK_CONNECTION', 'default'),
    'enabled'         => env('REDIS_COMPRESSED_CACHE_ENABLED', true),
];

Usage

Add the redis-compressed custom driver to the redis store config in config/cache.php:

'redis' => [
    'driver'          => 'redis-compressed',
    'connection'      => 'cache',
    'lock_connection' => 'default',
]

Or create a new store:

'redis-compressed' => [
    'driver'          => 'redis-compressed',
]

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 14.97k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固