vpg/titon.cache 问题修复 & 功能扩展

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

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

vpg/titon.cache

最新稳定版本:v1.3.2

Composer 安装命令:

composer require vpg/titon.cache

包简介

The Titon cache package provides a data caching layer that supports multiple storage engines.

README 文档

README

Provides a data caching layer that supports popular storage engines like Memcache, APC, Redis, Wincache, Xcache, and the local file system. A Cache instance can be used to manage and interact with Storage engines.

$cache = new Titon\Cache\Cache(); $cache->addStorage('memcache', new Titon\Cache\Storage\MemcacheStorage()); $cache->addStorage('fs', new Titon\Cache\Storage\FileSystemStorage()); $cache->set('foo', $data, '+1 hour', 'memcache'); $data = $cache->get('bar', 'fs');

Storage engines can also be used externally and are primarily injected into other services for caching.

$apc = new Titon\Cache\Storage\ApcStorage(); $apc->remove('foo');

Features

  • Cache - Storage management layer
  • Storage - Vendor specific caching mechanism

Dependencies

  • Common
  • Io (optional, for FileSystemStorage)
  • Db (optional, for DatabaseStorage)

Requirements

  • PHP 5.4.0
    • Igbinary (optional)
    • Apc (for ApcStorage)
    • Memcached (for MemcacheStorage)
    • Redis (for RedisStorage)
    • Wincache (for WincacheStorage)
    • Xcache (for XcacheStorage)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固