PHPackages                             andrewgjohnson/ctc-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. andrewgjohnson/ctc-cache

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

andrewgjohnson/ctc-cache
========================

ctcCache is a PHP library to help cache results via file I/O or Memcache.

v0.9.6(8y ago)26[2 issues](https://github.com/andrewgjohnson/ctcCache/issues)MITPHPPHP &gt;=5.0.0

Since Oct 30Pushed 8y ago1 watchersCompare

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

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

ctcCache
========

[](#ctccache)

Description
-----------

[](#description)

ctcCache is a PHP library to help cache results via file I/O or Memcache. Redis support may be added but is currently unavailable.

Warning
-------

[](#warning)

This code is used in production but has not been fully testing. A large refactor will be coming before v1.0.0, use with caution and at your own risk until v1.0.0 is released.

Acknowledgements
----------------

[](#acknowledgements)

This project was started by [Andrew G. Johnson](https://github.com/andrewgjohnson), contact via [Twitter](http://twitter.com/andrewgjohnson), [Email](mailto:andrew@andrewgjohnson.com), [GitHub](https://github.com/andrewgjohnson) or [Online](http://www.andrewgjohnson.com/)

Changelog
---------

[](#changelog)

\######v0.9.6 (March 3, 2016)

- Added composer support

\######v0.9.5 (March 3, 2016)

- Added ctcCache\_Query-&gt;clearCache() function

\######v0.9.4 (September 29, 2015)

- Added support for PHP's Memcached library (previously only supported Memecache library)

\######v0.9.3 (April 7, 2015)

- Added MySQL server information to the hash for cached MySQL query results

\######v0.9.2 (December 18, 2013)

- Fixed bug that allowed expiration time to be above the maximum for Memcache

\######v0.9.1 (November 16, 2013)

- Added multiple MySQL support
- Added setting to determine whether or not empty MySQL queries should be cached

\######v0.9.0 (November 16, 2013)

- Intial public release of ctcCache

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3165d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1124501?v=4)[Andrew G. Johnson](/maintainers/andrewgjohnson)[@andrewgjohnson](https://github.com/andrewgjohnson)

---

Top Contributors

[![andrewgjohnson](https://avatars.githubusercontent.com/u/1124501?v=4)](https://github.com/andrewgjohnson "andrewgjohnson (14 commits)")

---

Tags

xmlserializer

### Embed Badge

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

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k260.4M294](/packages/masterminds-html5)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k139.8M906](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

1.8k157.6M95](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k91.4M664](/packages/jms-serializer-bundle)[sabre/xml

sabre/xml is an XML library that you may not hate.

52933.7M139](/packages/sabre-xml)[goetas-webservices/xsd2php

Convert XSD (XML Schema) definitions into PHP classes and JMS metadata

2391.7M43](/packages/goetas-webservices-xsd2php)

PHPackages © 2026

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