comphp/cache 问题修复 & 功能扩展

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

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

comphp/cache

Composer 安装命令:

composer require comphp/cache

包简介

Simple driver-based caching support for PHP applications.

README 文档

README

CommonPHP Cache provides simple driver-based caching support for CommonPHP applications. It defines cache contracts and manager behavior while allowing storage implementations such as memory, filesystem, database, Redis, or Symfony-backed cache drivers to be plugged in separately.

The package is intended to make common cache operations easy to use while keeping storage details behind focused drivers.

Requirements

  • PHP ^8.5
  • comphp/runtime:^0.3
  • psr/simple-cache if PSR-16 support is enabled

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/cache

Usage

<?php

// TODO: Write usage

Package Notes

This package should expose a simple cache API backed by driver implementations. Concrete storage integrations such as Symfony Cache, filesystem cache, database cache, Redis, or Memcached should live in driver packages.

Error Handling

Driver errors, invalid keys, serialization failures, and storage failures should throw CommonPHP cache exceptions rather than returning ambiguous false values.

Documentation

License

MIT. See LICENSE.md.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固