66[ ![ Build Status] ( https://travis-ci.org/byjg/cache-engine-php.svg?branch=master )] ( https://travis-ci.org/byjg/cache-engine-php )
77
88
9- ## Description
109
1110A multi-purpose cache engine PSR-6 and PSR-16 implementation with several drivers.
1211
13- ## Cache Engine PSR-16 compliant
12+ # Cache Engine PSR-16 compliant
1413
1514PSR-16 defines a Simple Cache interface with less verbosity than PSR-6. Below a list
1615of engines available in this library that is PSR-16 compliant:
1716
17+ {:.table}
18+
1819| Class | Description |
1920| :----------------------------------------| :--------------------------------------------------------------------|
2021| \ByJG\Cache\Psr16\NoCacheEngine | Do nothing. Use it for disable the cache without change your code |
@@ -43,7 +44,7 @@ $object = $cache->get('key');
4344
4445See more PSR-16 examples [ here] ( docs/basic-usage-psr16-simplecache.md )
4546
46- ## Cache Engine PSR-6 compliant
47+ # Cache Engine PSR-6 compliant
4748
4849The PSR-6 implementation use the engines defined above. PSR-6 is more verbosity and
4950have an extra layer do get and set the cache values.
@@ -63,7 +64,7 @@ $cachePool = new CachePool(new FileSystemCacheEngine());
6364
6465See more PSR-6 examples [ here] ( docs/basic-usage-psr6-cachepool.md )
6566
66- ## List of Avaiable Factory Commands
67+ # List of Avaiable Factory Commands
6768
6869** Note: All parameters are optional**
6970
@@ -85,18 +86,22 @@ The Commom parameters are:
8586- servers: An array of memcached servers. E.g.: ` [ '127.0.0.1:11211' ] `
8687- config: Specific setup for shmop. E.g.: ` [ 'max-size' => 524288, 'default-permission' => '0700' ] `
8788
88- ## Logging cache commands
89+ # Logging cache commands
8990
9091You can add a PSR Log compatible to the constructor in order to get Log of the operations
9192
9293See log examples [ here] ( docs/setup-log-handler.md )
9394
9495## Install
9596
96- Just type: ` composer require "byjg/cache-engine=4.0.*" `
97+ Just type:
98+
99+ ```
100+ composer require "byjg/cache-engine=4.0.*"
101+ ```
97102
98103
99- ## Running Unit Testes
104+ # Running Unit Testes
100105
101106```
102107phpunit --stderr
0 commit comments