# krakjoe/apcu

APCu - APC User Cache

Repository: https://github.com/krakjoe/apcu
Canonical: https://ross.abutalabs.com/products/apcu
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-08-15T20:24:31+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 48, longevity 100
- inputs: {"age_days": 4934, "days_push": 18, "days_rel": 268, "gap_med": 61.5, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1013, forks 203 (observed 2026-08-28T04:03:13.768832+00:00)

## What it is
APCu is a PHP extension providing an in-memory key-value store for caching PHP variables within a single process. It is the userland-only portion of the legacy APC opcode cache, exposed through apcu_* functions documented on php.net.

## Use cases
- cache expensive function results in php
- shared memory key-value store for php requests
- speed up php application by caching variables
- replace apc user cache in modern php
- store computed data between requests without external cache

## When to choose
- you need fast per-server variable caching in php without adding external services
- you want a drop-in userland cache maintained as part of the php ecosystem

## When to avoid
- you need a distributed cache shared across multiple servers
- you need opcode caching (use opcache instead)
- your application runs in an environment without shared-memory php extensions

## Facets
- artifact type: library
- maturity: stable
- function: caching, database
- domain: web-development, backend, performance
- platform: php, windows
- tags: php-extension, in-memory-cache, key-value-store, shared-memory, pecl, linux, macos, web-server

## Member repositories
- krakjoe/apcu (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:13.768832+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:40.381226+00:00, confidence not recorded.
  - readme: https://github.com/krakjoe/apcu (fetched 2026-08-28T04:03:13.768832+00:00, sha 6e0e6adb2629)
- Data as of 2026-08-30T08:39:29.467469+00:00.
