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

ActivePackage[Caching](/categories/caching)

saalexeev/cache
===============

cache implementation for test task

00PHPCI failing

Since Sep 22Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Cache
=====

[](#cache)

Использование:

1. Инициализация: `Cache::init($engine)`.

    #### Варианты $engine:

    [](#варианты-engine)

    - file
    - redis
    - memory(массив)
2. Основные методы:

    - `set($key, $item, $ttl = null, $prefix = null): bool` - записать в кэш
    - `get($key, $default): mixed` - взять из кэша
    - `has($key): bool`- проверить наличие ключа
    - `delete($key): bool` - удалить один ключ
    - `clear(): bool` - очистить хранилище полностью
3. Требования:

    - redis (если планируется использовать redis)
    - php 7.1+

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19276117?v=4)[brrl](/maintainers/brrl)[@Brrl](https://github.com/Brrl)

---

Top Contributors

[![saalexeev](https://avatars.githubusercontent.com/u/45327710?v=4)](https://github.com/saalexeev "saalexeev (11 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/saalexeev-cache/health.svg)](https://phpackages.com/packages/saalexeev-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)

PHPackages © 2026

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