PHPackages                             mtoolkit/mtoolkit-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. [Framework](/categories/framework)
4. /
5. mtoolkit/mtoolkit-cache

ActiveLibrary[Framework](/categories/framework)

mtoolkit/mtoolkit-cache
=======================

The cache module of MToolkit framework

0.0.2(10y ago)013LGPL-3.0+PHPPHP &gt;=5.3.0

Since Jun 1Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (3)Used By (0)

MToolkit - Cache
================

[](#mtoolkit---cache)

The cache module of [MToolkit](https://github.com/mtoolkit/mtoolkit) framework.

Cache types
-----------

[](#cache-types)

- MySQL
- File
- APC

Usages
------

[](#usages)

Following, the examples of each type of supported cache.

### MySQL

[](#mysql)

```
$cacheManager = MCacheFactoryImpl::getManager(new MCacheConfiguration(
    MCacheType::MYSQL,
    array(
        'db' => new PDO(...),
        'table' => 'mcache'
    )
));
```

### File

[](#file)

```
$cacheManager = MCacheFactoryImpl::getManager(new MCacheConfiguration(
    MCacheType::FILE,
    array(
        'path' => '/temp/cache'
    )
));
```

### APC

[](#apc)

```
$cacheManager = MCacheFactoryImpl::getManager(new MCacheConfiguration(
    MCacheType::APC,
    array()
));
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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 ~0 days

Total

2

Last Release

3682d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16403140?v=4)[MToolkit framework project](/maintainers/mtoolkit)[@mtoolkit](https://github.com/mtoolkit)

---

Top Contributors

[![mtoolkit](https://avatars.githubusercontent.com/u/16403140?v=4)](https://github.com/mtoolkit "mtoolkit (7 commits)")[![MpStyle](https://avatars.githubusercontent.com/u/527046?v=4)](https://github.com/MpStyle "MpStyle (4 commits)")

---

Tags

phpframeworklibrarycachecachingSimplefastfreenettoolkitqtweb framework

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[utopia-php/cache

A simple cache library to manage application cache storing, loading and purging

31483.1k18](/packages/utopia-php-cache)[digitalstars/simplevk

Powerful PHP library/framework for VK API bots, supporting LongPoll &amp; Callback &amp; OAuth

924.2k3](/packages/digitalstars-simplevk)[usbac/wolff-framework

Web development made just right

381.2k1](/packages/usbac-wolff-framework)

PHPackages © 2026

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