PHPackages                             apcu/apcu - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. apcu/apcu

ActivePhp-ext[Caching](/categories/caching)

apcu/apcu
=========

APCu - APC User Cache

v5.1.28(8mo ago)1.0k76.6k↑19.7%201[52 issues](https://github.com/krakjoe/apcu/issues)[11 PRs](https://github.com/krakjoe/apcu/pulls)PHP-3.01CPHP &gt;= 7.0.0CI passing

Since Sep 21Pushed 3w ago51 watchersCompare

[ Source](https://github.com/krakjoe/apcu)[ Packagist](https://packagist.org/packages/apcu/apcu)[ RSS](/packages/apcu-apcu/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)DependenciesVersions (6)Used By (0)

APCu
====

[](#apcu)

APCu is an in-memory key-value store for PHP. Keys are of type string and values can be any PHP variables.

APCu only supports userland caching of variables.

APCu is APC stripped of opcode caching. See [APCu Backwards Compatibility Module](https://github.com/krakjoe/apcu-bc) which provides a drop in replacement for APC.

[![Build status: GitHub](https://github.com/krakjoe/apcu/actions/workflows/config.yml/badge.svg)](https://github.com/krakjoe/apcu/actions/workflows/config.yml)[![Build status: AppVeyor](https://camo.githubusercontent.com/cb637d8f445874a317f4514c35f5ddd1f9fac9c1e8d741ed62f4bca51633bd3d/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f6f6d3633676c683467323467693170392f6272616e63682f6d61737465723f7376673d74727565)](https://ci.appveyor.com/project/krakjoe/apcu/branch/master)

Documentation
=============

[](#documentation)

APCu documentation can be found on [php.net](http://php.net/apcu).

Reporting Bugs
==============

[](#reporting-bugs)

If you believe you have found a bug in APCu, please open an issue: Include in your report *minimal, executable, reproducing code*.

Minimal: reduce your problem to the smallest amount of code possible; This helps with hunting the bug, but also it helps with integration and regression testing once the bug is fixed.

Executable: include all the information required to execute the example code, code snippets are not helpful.

Reproducing: some bugs don't show themselves on every execution, that's fine, mention that in the report and give an idea of how often you encounter the bug.

**It is impossible to help without reproducing code, bugs that are opened without reproducing code will be closed.**

Please include version and operating system information in your report.

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance79

Regular maintenance activity

Popularity58

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~110 days

Total

5

Last Release

254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a66e9e6117ecedd55b7cbfe3cd6a74d6f785be1b9f9e512b5a225b95b19f4d4b?d=identicon)[nikic](/maintainers/nikic)

![](https://avatars.githubusercontent.com/u/2236138?v=4)[Joe Watkins](/maintainers/krakjoe)[@krakjoe](https://github.com/krakjoe)

---

Top Contributors

[![krakjoe](https://avatars.githubusercontent.com/u/2236138?v=4)](https://github.com/krakjoe "krakjoe (468 commits)")[![nikic](https://avatars.githubusercontent.com/u/216080?v=4)](https://github.com/nikic "nikic (299 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (115 commits)")[![madmajestro](https://avatars.githubusercontent.com/u/42686074?v=4)](https://github.com/madmajestro "madmajestro (71 commits)")[![weltling](https://avatars.githubusercontent.com/u/22016?v=4)](https://github.com/weltling "weltling (67 commits)")[![TysonAndre](https://avatars.githubusercontent.com/u/1904430?v=4)](https://github.com/TysonAndre "TysonAndre (23 commits)")[![cmb69](https://avatars.githubusercontent.com/u/2306138?v=4)](https://github.com/cmb69 "cmb69 (15 commits)")[![petk](https://avatars.githubusercontent.com/u/1614009?v=4)](https://github.com/petk "petk (11 commits)")[![MaxKellermann](https://avatars.githubusercontent.com/u/1443144?v=4)](https://github.com/MaxKellermann "MaxKellermann (10 commits)")[![Stricted](https://avatars.githubusercontent.com/u/4091731?v=4)](https://github.com/Stricted "Stricted (9 commits)")[![fabianx-ai](https://avatars.githubusercontent.com/u/354804?v=4)](https://github.com/fabianx-ai "fabianx-ai (5 commits)")[![LionsAd](https://avatars.githubusercontent.com/u/354804?v=4)](https://github.com/LionsAd "LionsAd (5 commits)")[![kabel](https://avatars.githubusercontent.com/u/675956?v=4)](https://github.com/kabel "kabel (4 commits)")[![andypost](https://avatars.githubusercontent.com/u/73713?v=4)](https://github.com/andypost "andypost (3 commits)")[![DennisBirkholz](https://avatars.githubusercontent.com/u/600655?v=4)](https://github.com/DennisBirkholz "DennisBirkholz (3 commits)")[![tony2001](https://avatars.githubusercontent.com/u/42386?v=4)](https://github.com/tony2001 "tony2001 (3 commits)")[![khromov](https://avatars.githubusercontent.com/u/1207507?v=4)](https://github.com/khromov "khromov (2 commits)")[![Jan-E](https://avatars.githubusercontent.com/u/1757825?v=4)](https://github.com/Jan-E "Jan-E (2 commits)")[![pmurzakov](https://avatars.githubusercontent.com/u/1109818?v=4)](https://github.com/pmurzakov "pmurzakov (2 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (2 commits)")

### Embed Badge

![Health badge](/badges/apcu-apcu/health.svg)

```
[![Health](https://phpackages.com/badges/apcu-apcu/health.svg)](https://phpackages.com/packages/apcu-apcu)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
