sfneal/redis-helpers 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sfneal/redis-helpers

最新稳定版本:3.0.0

Composer 安装命令:

composer require sfneal/redis-helpers

包简介

Redis helper functions for improved Redis cache transactions with PHP applications.

README 文档

README

Packagist PHP support Latest Version on Packagist Build Status StyleCI Scrutinizer Code Quality Total Downloads

Redis helper functions for improved Redis cache transactions with PHP applications

Installation

You can install the package via composer:

composer require sfneal/redis-helpers

In order to autoload to the helper functions add the following path to the autoload.files section in your composer.json.

"autoload": {
    "files": [
        "vendor/sfneal/redis-helpers/src/redis.php"
    ]
},

To modify the redis-helpers 'prefix' & 'ttl' setting publish the ServiceProvider & modify the config.

php artisan vendor:publish --provider="Sfneal\Helpers\Redis\Providers\RedisHelpersServiceProvider"

Usage

# Add a key value pair to the cache
RedisCache::set('pastrnak', 88);

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.

Credits

License

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

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-18