PHPackages                             kktsvetkov/kacho - 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. kktsvetkov/kacho

AbandonedArchivedLibrary[Caching](/categories/caching)

kktsvetkov/kacho
================

Kacho: File-based PHP5 caching library

v0.1.1(7y ago)3251LGPL-3.0PHPPHP &gt;=5.2.0

Since Mar 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kktsvetkov/kacho)[ Packagist](https://packagist.org/packages/kktsvetkov/kacho)[ Docs](https://github.com/kktsvetkov/kacho/)[ RSS](/packages/kktsvetkov-kacho/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Kacho
=====

[](#kacho)

Very basic and simple file-based PHP5 caching library

The "Kacho" library is designed to cache data "as is" using compiled PHP files; "compiled" means that the data inside them is just declared, similar to just how the JSON works, but in native PHP ;)

In other words you can store various type of data (not just scalars) in PHP files generated by Kacho: that's why you can think of this as the PHP version of JSON.

Here is an example of how to use it:

```
/* Cache current $_SERVER array for one hour */
echo Kacho::open('/tmp/proba.php')->write($_SERVER, 3600)
	? 'Kacho caching is OK :)'
	: 'Kacho caching failed :(';

/* Read the cached $_SERVER array */
echo Kacho::open('/tmp/proba.php')->read($_SERVER);

```

Make sure that the locations that you provide for the cache files are **writable**, e.g. you can create new files there.

Migrated from

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

2787d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/694812?v=4)[Kaloyan Tsvetkov](/maintainers/kktsvetkov)[@kktsvetkov](https://github.com/kktsvetkov)

---

Top Contributors

[![kktsvetkov](https://avatars.githubusercontent.com/u/694812?v=4)](https://github.com/kktsvetkov "kktsvetkov (7 commits)")

---

Tags

cachekachophpphp5cachecaching

### Embed Badge

![Health badge](/badges/kktsvetkov-kacho/health.svg)

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

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k757.1M2.6k](/packages/psr-simple-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

445124.5M44](/packages/react-cache)[tedivm/stash

The place to keep your cache.

9614.9M126](/packages/tedivm-stash)[spatie/blink

Cache that expires in the blink of an eye

1675.3M10](/packages/spatie-blink)[gregwar/cache

A lightweight file-system cache system

1084.6M23](/packages/gregwar-cache)[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

155480.1k36](/packages/putyourlightson-craft-blitz)

PHPackages © 2026

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