PHPackages                             claudiu-cristea/drupal-cache-adapter - 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. claudiu-cristea/drupal-cache-adapter

AbandonedArchivedLibrary[Caching](/categories/caching)

claudiu-cristea/drupal-cache-adapter
====================================

Drupal cache adapter

1.0.0-alpha1(2y ago)09.5k↓86%GPL-2.0-or-laterPHPCI failing

Since Aug 10Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/claudiu-cristea/drupal-cache-adapter)[ Packagist](https://packagist.org/packages/claudiu-cristea/drupal-cache-adapter)[ RSS](/packages/claudiu-cristea-drupal-cache-adapter/feed)WikiDiscussions main Synced yesterday

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

Project archived: Use [https://www.drupal.org/project/php\_cache\_adapter](https://www.drupal.org/project/php_cache_adapter) instead
====================================================================================================================================

[](#project-archived-use-httpswwwdrupalorgprojectphp_cache_adapter-instead)

Drupal Cache Adapter
--------------------

[](#drupal-cache-adapter)

Provides a Symfony Cache adapter to Drupal cache system.

It's useful when a third-party library requires a `php-cache` style adapter to cache data but you want to pipe the cachig process through the Drupal cache API.

A good example is , a library that is querying the GitHub API. Calls to GitHub might be cached but the library requires a `php-cache` adapter. You can use the `DrupalAdapter` provided by this package, to route the cache write/read via Drupal caching API. See .

Install
-------

[](#install)

Use composer:

```
composer require claudiu-cristea/drupal-cache-adapter
```

Usage
-----

[](#usage)

```
