corepos/class-cache

Pack a bunch of PHP classes into one file for faster loading

Maintainers

Package info

github.com/CORE-POS/ClassCache

pkg:composer/corepos/class-cache

Statistics

Installs: 419

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2017-09-21 18:00 UTC

This package is auto-updated.

Last update: 2026-03-09 10:22:39 UTC


README

Pack a bunch of PHP classes into a single file for faster loading

Usage

$cacheLocation = '/path/to/cache/file.php';
$cache = new COREPOS\ClassCache\ClassCache($cacheLocation);

// cache a class
$cache->add('Class\\To\\Cache');

// load everything in the cache
include($cache->get());