Skip to content

SwiftFramework/SwiftCache

Repository files navigation

Cache Component

Build Status

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/

About

Cache library for PHP5.3+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages