Search by

se7enxweb / expcomponents-cache

7x

A solution for caching, supporting multiple backends allowing you to specify the best performing solution for your caching-problem.

Package info

github.com/se7enxweb/expcomponents-cache

pkg:composer/se7enxweb/expcomponents-cache

Statistics

Installs: 7 725

Dependents: 2

Suggesters: 0

Stars: 1

1.6.5 2026-11-25 08:57 UTC

README

A solution for caching, supporting multiple backends allowing you to specify the best performing solution for your caching-problem.

This is the Exponential Components fork of zetacomponents/Cache, maintained by 7x (se7en.x) and the Exponential Foundation for Exponential and anyone else who uses the Zeta Components Cache component on current PHP versions. All credit for the component goes to the Zeta Components authors listed in composer.json and CREDITS; the upstream copyright notices (NOTICE) and the Apache License 2.0 (LICENSE.txt) are kept unchanged.

What is different from upstream

  • The package is se7enxweb/expcomponents-cache and replaces zetacomponents/cache, so a project that requires the upstream package gets this one in its place.
  • It requires the Exponential forks of the components it builds on (se7enxweb/expcomponents-base), which replace their upstream packages in the same way.
  • The class names (ezc*) and the API are unchanged.
  • Two storages use the APCu user cache: ezcCacheStorageApcuPlain and ezcCacheStorageFileApcuArray. They need the apcu extension, and on the command line apc.enable_cli=1; without the extension their constructors throw ezcBaseExtensionNotFoundException.
  • The APC storages (ezcCacheStorageApcPlain, ezcCacheStorageFileApcArray) keep calling the apc_*() functions. They need the apc extension, on PHP 7 the apcu_bc compatibility layer next to apcu; PHP 8 has neither, use the APCu storages there.
  • Changes made in this fork are listed in ChangeLog.

Installation

composer require se7enxweb/expcomponents-cache

Tests

composer update
vendor/bin/phpunit

The suite runs on every push for PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and 8.5.

License

Apache License 2.0, see LICENSE.txt and NOTICE.