PHPackages                             escapework/cache - 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. escapework/cache

ActiveLibrary[Caching](/categories/caching)

escapework/cache
================

Library pra controle de cache

0.1.2(13y ago)268MITPHPPHP &gt;=5.3.0

Since Feb 22Pushed 13y ago7 watchersCompare

[ Source](https://github.com/EscapeWork/Cache)[ Packagist](https://packagist.org/packages/escapework/cache)[ RSS](/packages/escapework-cache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

EscapeWork\\Cache (Beta) [![Build Status](https://camo.githubusercontent.com/c9647ff2603cf00b411e5bb4722f4ac1fcb8ff09ef393877a797998274723e6a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f457363617065576f726b2f43616368652e706e67)](http://travis-ci.org/EscapeWork/Cache)
=========================================================================================================================================================================================================================================================================================

[](#escapeworkcache-beta-)

Em construção.

### Exemplos

[](#exemplos)

```
use EscapeWork\Cache\Facade as Cache;

# setting
Cache::set('key', 'value', 'namespace'); # namespace é opcional

# getting
# if the value don't exists in cache, the closure is called
Cache::get('key', function() {
    return 'your function to get data';
}, 'namespace');

# deleting
Cache::delete('key');

# flush namespace
Cache::flushNamespace('namespace');

# flush all cache
Cache::flush();
```

### Tipos de cache disponíveis

[](#tipos-de-cache-disponíveis)

- Memcached
- APC
- File
- Array (Para testes unitários)

### Configuração

[](#configuração)

```
use EscapeWork\Cache\Facade as Cache;

Cache::driver(array(
    'driver' => 'memcached',
    'memcached' => array(
        array('host' => 'your-host', 'port' => 11211) # server settings
    ),
));

Cache::driver(array(
    'driver' => 'file',
    'path'   => '/path/to/your/cache/dir/',
));
```

### Instalação

[](#instalação)

A instalação está disponível via [Composer](https://packagist.org/packages/escapework/cache). Autoload compátivel com a PSR-0.

```
{
    "require": {
        "escapework/cache": "0.1.*"
    }
}

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~20 days

Total

3

Last Release

4882d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57e405b52d482c9de35b17f299d2745e8e68d9d9951aec64854f2d7fa53110bf?d=identicon)[luisdalmolin](/maintainers/luisdalmolin)

---

Top Contributors

[![luisdalmolin](https://avatars.githubusercontent.com/u/403446?v=4)](https://github.com/luisdalmolin "luisdalmolin (33 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/escapework-cache/health.svg)

```
[![Health](https://phpackages.com/badges/escapework-cache/health.svg)](https://phpackages.com/packages/escapework-cache)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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