PHPackages                             j6s/flow-apcu-with-fallback - 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. j6s/flow-apcu-with-fallback

ActiveNeos-package[Caching](/categories/caching)

j6s/flow-apcu-with-fallback
===========================

Package that provides an APCu cache backend that falls back to a given fallback if the APCu extension is not installed.

2.0.0(5y ago)031.2k↓25%MITPHPPHP ^7.3||^8.0

Since Mar 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/j6s/flow-apcu-fallback-cache)[ Packagist](https://packagist.org/packages/j6s/flow-apcu-with-fallback)[ RSS](/packages/j6s-flow-apcu-with-fallback/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

Flow APCu Fallback Cache
========================

[](#flow-apcu-fallback-cache)

This package provides a small wrapper around flows default `ApcuBackend` which falls back to a given other backend, if the `apcu` PHP extension is not installed.

[![](./Resources/Private/Doc/time.png)](./Resources/Private/Doc/time.png)

Installation
------------

[](#installation)

```
$ composer require j6s/flow-apcu-fallback-cache
```

Configuration
-------------

[](#configuration)

```
Neos_Fusion_Content:
  frontend: Neos\Cache\Frontend\StringFrontend
  backend: J6s\ApcuFallbackCache\Backend
  backendOptions:
    fallback:
      backend: Neos\Cache\Backend\PdoBackend
      backendOptions:
        dataSourceName: 'sqlite:%FLOW_PATH_DATA%/Temporary/Neos_Fusion_Content.sqlite'
```

Why not use `MultiBackend`?
---------------------------

[](#why-not-use-multibackend)

Flow already ships with a `MultiBackend` that will initialize multiple cache backend and use the first that does not throw an error. In theory this backend functions very similarly to the backend provided in this package, however it will always initialize all backends, leading to slower response times since the Initialization to the `PdoBackend` (used in example above) tends to take about 100ms.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~108 days

Total

4

Last Release

1933d ago

Major Versions

1.0.2 → 2.0.02021-01-31

PHP version history (2 changes)1.0.0PHP ^7.2

2.0.0PHP ^7.3||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/73afe4e714bad6a4dc26a7d645a84d0166d19fe6a1b6c05deffe755e1e271764?d=identicon)[j6s](/maintainers/j6s)

---

Top Contributors

[![j6s](https://avatars.githubusercontent.com/u/3374170?v=4)](https://github.com/j6s "j6s (2 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/j6s-flow-apcu-with-fallback/health.svg)

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

###  Alternatives

[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)[cheprasov/php-redis-client

Php client for Redis. It is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0

1281.2M21](/packages/cheprasov-php-redis-client)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)

PHPackages © 2026

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