2017 © Pedro Peláez
 

package cache

PHP Cache Management Handler Library

image

o2system/cache

PHP Cache Management Handler Library

  • Friday, June 8, 2018
  • by o2system
  • Repository
  • 2 Watchers
  • 0 Stars
  • 182 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 20 % Grown

The README.md

alt text, (*1)

Scrutinizer Code Quality Build Status PHP Composer Latest Stable Version Total Downloads License, (*2)

O2System Cache

O2System Cache is an Open Source Cache Management Adapters Library. This allows the O2System Framework to integrate with some of the most popular cache storage engines. All but file-based caching require specific server requirements, and a Fatal Exception will be thrown if server requirements are not met. O2System Cache is build for working more powerful within O2System Framework, but also can be used for integrated with others as standalone version with limited features., (*3)

O2System Cache is written based on PSR-6: Caching Interface and PSR-16: Common Interface for Caching Libraries., (*4)

Supported Storage Engines Adapters

| Engine | 7.2+ |   | | ------------- |:-----:| ----- | | APCu | Yes | http://php.net/apcu | | File | Yes | http://php.net/file | | Memcache | Yes | http://php.net/memcache | | Memcached | Yes | http://php.net/memcached | | Redis | Yes | http://redis.io | | Wincache | Yes | http://php.net/wincache |, (*5)

APC and XCache has been deprecated, OPCache has been merged into APCu., (*6)

Composer Installation

The best way to install O2System Cache is to use Composer, (*7)

composer require o2system/cache

Packagist: https://packagist.org/packages/o2system/cache, (*8)

Usage

use O2System\Cache;

$cache = new Cache\Adapters\Opcache\ItemPool();

if( $cache->isConnected() ) {
    // Save cache
    $cache->save( new Cache\Item( 'cacheKeyName', 'This is cache content, support any type of data', 300 ) );
    // Get cache
    echo $cache->getItem( 'cacheKeyName' )->get();
}

Output: This is cache content, support any type of data, (*9)

Documentation is available on this repository wiki or visit this repository github page., (*10)

Ideas and Suggestions

Please kindly mail us at contact@o2system.id, (*11)

Bugs and Issues

Please kindly submit your issues at Github so we can track all the issues along development and send a pull request to this repository., (*12)

System Requirements

The Versions

08/06 2018

dev-master

9999999-dev

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

08/06 2018

v2.2.28

2.2.28.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

29/05 2018

v2.2.27

2.2.27.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

04/05 2018

v2.2.3

2.2.3.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

25/04 2018

v2.2.2

2.2.2.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

19/04 2018

v2.2.1

2.2.1.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

06/04 2018

v2.2.0

2.2.0.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

29/12 2017

v2.1.3

2.1.3.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

08/11 2017

v2.1.2

2.1.2.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

04/10 2017

v2.1.1

2.1.1.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

16/08 2017

v2.1.0

2.1.0.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

03/08 2017

v2.0.0

2.0.0.0

PHP Cache Management Handler Library

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries