PHPackages                             orbisnull/localcache - 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. orbisnull/localcache

AbandonedArchivedLibrary[Caching](/categories/caching)

orbisnull/localcache
====================

php cache in apc, xcache files, etc

04PHP

Since Jan 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/orbisnull/LocalCache)[ Packagist](https://packagist.org/packages/orbisnull/localcache)[ RSS](/packages/orbisnull-localcache/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

> **Warning**Repository is outdated and abandoned! 🚫 No active development or any support! ☠️

LocalCache
==========

[](#localcache)

Parts of this code are based on and/or adapted from original work by \[Adam King\] ()

A simple PHP composer module, using the singleton design pattern to handle caching data.

Currently supports APC, but may be adapt to 'eaccelerator', 'xcache', 'file', etc.

```
$cache = LocalCache::getInstance();
if (false !== ($data = $cache->get($id))) {
    $data = get_data_from_db($id);
    $cache->set($id, $data);
}
return $data;
```

The data is automatically serialize/unserialize in LocalCache;

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 88.9% 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://www.gravatar.com/avatar/8c1000b85ab4c893da174a932ba8ea6c96565ae6e99be4f8485058e26741c3a8?d=identicon)[orbisnull](/maintainers/orbisnull)

---

Top Contributors

[![agking](https://avatars.githubusercontent.com/u/2147201?v=4)](https://github.com/agking "agking (8 commits)")[![vasiliishvakin](https://avatars.githubusercontent.com/u/771328?v=4)](https://github.com/vasiliishvakin "vasiliishvakin (1 commits)")

### Embed Badge

![Health badge](/badges/orbisnull-localcache/health.svg)

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

###  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)
