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

ActivePackage[Caching](/categories/caching)

theriskus/cache
===============

08PHP

Since Sep 4Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Simple cache
============

[](#simple-cache)

#### Requirements

[](#requirements)

1. PHP 5.6 =&gt; above
2. [Composer](https://getcomposer.org/download)
3. Redis 5.0 (optional)
4. Memcached 1.5.X (optional)

### Installing

[](#installing)

To install this module, you're should use composer library : ` composer require theriskus/cache`

### Simple use:

[](#simple-use)

1. For initialize add to your bootstrap file this: ` Cache::init(driver);` and add `use WorkTestMax\Classes\Cache`

##### **Driver must be string and equal: 'redis' or 'memcached' or 'file'**

[](#driver-must-be-string-and-equal-redis-or-memcached-or-file)

2. For set any params: ` Cache::set(string $cache_id, mixed $data, int $ttl, string $sub_dir = '')`
3. For get any params: ` Cache::get(string $cache_id, string $sub_dir = '');`

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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/10286933?v=4)[Khrunkov Alexandr](/maintainers/theriskus)[@theriskus](https://github.com/theriskus)

---

Top Contributors

[![theriskus](https://avatars.githubusercontent.com/u/10286933?v=4)](https://github.com/theriskus "theriskus (12 commits)")

### Embed Badge

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

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