comphp/cache-symfony-cache

Cache Driver for CommonPHP which utilizes the Symfony Cache library

Maintainers

Package info

github.com/commonphp/cache-symfony

pkg:composer/comphp/cache-symfony-cache

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2026-05-17 04:45 UTC

This package is auto-updated.

Last update: 2026-05-20 18:01:07 UTC


README

Cache driver for CommonPHP that wraps Symfony Cache for driver-based cache storage.

Requirements

  • PHP ^8.5
  • comphp/cache:^0.3
  • symfony/cache

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/cache-symphony

Usage

<?php

// TODO: Write usage

Driver Notes

This driver is intended to let CommonPHP Cache use Symfony Cache adapters while keeping the core cache package independent from Symfony-specific implementation details.

If this package is intended to wrap Symfony Cache, consider whether the package name should be comphp/cache-symfony before publishing.

Error Handling

Cache adapter, read, write, delete, clear, and configuration failures should throw CommonPHP cache driver exceptions instead of returning ambiguous false values where the operation cannot be completed.

Documentation

License

MIT. See LICENSE.md.