swiftframework / cache
Cache library for PHP5.3+
Installs: 29
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/swiftframework/cache
Requires
- php: >=5.3.3
Requires (Dev)
- mageekguy/atoum: master-dev
This package is not auto-updated.
Last update: 2025-10-11 18:52:26 UTC
README
The example below demonstrates how you can set up a fully working cache system:
use Swift\Cache\Apc;
$cache = new Apc();
$cache->set('foot', 'bar');
echo $cache->get('foot');
$cache->remove('foot');
$cache['test'] = 'bar';
Resources
You can run the unit tests with the following command:
$ cd path/to/Swift/Cache/
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar install --dev
$ ./vendor/mageekguy/atoum/bin/atoum --glob Tests/Units/