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)033.1k↑250%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 2d 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

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

1979d 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

[neos/neos-development-collection

Neos packages in a joined repository for pull requests.

267103.9k1](/packages/neos-neos-development-collection)[neos/media

The Media package

101.2M53](/packages/neos-media)

PHPackages © 2026

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