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(5mo ago)1.0k36.0k—2.9%200[4 issues](https://github.com/krakjoe/apcu/issues)[13 PRs](https://github.com/krakjoe/apcu/pulls)PHP-3.01CPHP &gt;= 7.0.0CI passing

Since Sep 21Pushed 2mo ago51 watchersCompare

[ Source](https://github.com/krakjoe/apcu)[ Packagist](https://packagist.org/packages/apcu/apcu)[ RSS](/packages/apcu-apcu/feed)WikiDiscussions master Synced 1mo 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

53

—

FairBetter than 97% of packages

Maintenance78

Regular maintenance activity

Popularity56

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity38

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

162d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/a53e08d9e444763eaca5611e49ff1403e8e0803a648b6cbd0e3a0d33430a2ff4?d=identicon)[krakjoe](/maintainers/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)")[![weltling](https://avatars.githubusercontent.com/u/22016?v=4)](https://github.com/weltling "weltling (67 commits)")[![madmajestro](https://avatars.githubusercontent.com/u/42686074?v=4)](https://github.com/madmajestro "madmajestro (60 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)")[![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)")[![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)")[![zebroid](https://avatars.githubusercontent.com/u/34193141?v=4)](https://github.com/zebroid "zebroid (2 commits)")[![DaveRandom](https://avatars.githubusercontent.com/u/2396425?v=4)](https://github.com/DaveRandom "DaveRandom (2 commits)")[![Jan-E](https://avatars.githubusercontent.com/u/1757825?v=4)](https://github.com/Jan-E "Jan-E (2 commits)")[![khromov](https://avatars.githubusercontent.com/u/1207507?v=4)](https://github.com/khromov "khromov (2 commits)")[![Krinkle](https://avatars.githubusercontent.com/u/156867?v=4)](https://github.com/Krinkle "Krinkle (2 commits)")[![pmurzakov](https://avatars.githubusercontent.com/u/1109818?v=4)](https://github.com/pmurzakov "pmurzakov (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

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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