PHPackages                             geekcache/geekcache - 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. geekcache/geekcache

ActiveLibrary[Caching](/categories/caching)

geekcache/geekcache
===================

A wrapper for Memcached with tags, soft invalidation, memoization, and regeneration through callbacks

v3.1.2(1y ago)638.4k↓33.3%MITPHPPHP ^8.1

Since Jul 12Pushed 1y ago3 watchersCompare

[ Source](https://github.com/karptonite/geekcache)[ Packagist](https://packagist.org/packages/geekcache/geekcache)[ Docs](https://github.com/karptonite/geekcache)[ RSS](/packages/geekcache-geekcache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (21)Used By (0)

GeekCache
=========

[](#geekcache)

[![Build Status](https://camo.githubusercontent.com/c4738e16cf059f923fbd1c85a5480da0afb9fc5c262bf05a841bce0011c9eb90/68747470733a2f2f7472617669732d63692e6f72672f6b617270746f6e6974652f6765656b63616368652e737667)](https://travis-ci.org/karptonite/geekcache)[![Code Climate](https://camo.githubusercontent.com/673052a42fd862332283b22134c4c5ecedd3f13ab9d15fa7e391f7e89c49cc64/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6b617270746f6e6974652f6765656b63616368652f6261646765732f6770612e737667)](https://codeclimate.com/github/karptonite/geekcache)

GeeKCache is a wrapper for Memcached with tags, soft invalidation, memoization, and regeneration through callbacks. It is free (MIT license), fully tested and easily extendable. It also beta, so all disclaimers regarding using beta software in production apply, especially regarding functional changes, but it is in active use on .

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

[](#installation)

GeekCache can be installed via composer.

```
{
    "require": {
        "geekcache/geekcache": "0.1.*@beta"
    }
}

```

This package has one package dependency: the service providers requires Laravel's dependency injection container.

GeekCache also requires a key/value storage system for the back end. Currently, GeekCache is implemented for only one system: Memcached, using the Memcached PECL extension.

Usage
-----

[](#usage)

To use GeekCache, it is most convenient to use the included service providers to add the builders to the container.

```
