skill-php-cache

Community

Lightweight PHP caching without external services

Authorclaudioborja
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Lightweight, vendor-free caching for PHP apps helps avoid repetitive DB queries and slow page loads by providing APCu-based and file-based caches that work on shared hosting and VPS.

Core Features & Use Cases

  • APCu and FileCache drivers with TTL-based invalidation
  • Cache-aside pattern with remember(...) for atomic fetch-and-store
  • Fragment caching for views and partials
  • HTTP caching helpers (ETag, Last-Modified, Cache-Control)
  • Rate limiting, OPcache management integration
  • Automatic driver selection and a cron purge for file cache

Quick Start

Install dependencies, configure the cache driver (APCu or file cache), and start using the remember method to cache values.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: skill-php-cache
Download link: https://github.com/claudioborja/biblioteca/archive/main.zip#skill-php-cache

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.