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 1mo 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 37% 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

4792d 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

[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)[cheprasov/php-redis-client

Php client for Redis. It is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0

1281.2M21](/packages/cheprasov-php-redis-client)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)

PHPackages © 2026

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