PHPackages                             rickysu/tagcache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. rickysu/tagcache

ActiveLibrary[Caching](/categories/caching)

rickysu/tagcache
================

Provide a cache storage engine and delete with tags

v1.0.3(10y ago)317.6k22MITPHPPHP &gt;=5.3.3

Since Nov 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/RickySu/tagcache)[ Packagist](https://packagist.org/packages/rickysu/tagcache)[ Docs](https://github.com/RickySu/tagcache)[ RSS](/packages/rickysu-tagcache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (2)

Tagcache
========

[](#tagcache)

[![Build Status](https://camo.githubusercontent.com/b333f7035f211d47a2dafa1bd504ba7001472a94a9779b7fc21586a43eecce5d/68747470733a2f2f7472617669732d63692e6f72672f5269636b7953752f74616763616368652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/RickySu/tagcache)

Introduction
------------

[](#introduction)

This is a cache storage engine.

Features
--------

[](#features)

- Stores a cache with multiple tags. And deletes cache by using tag.

Requirements
------------

[](#requirements)

- PHP 5.3 above

Installation
------------

[](#installation)

editing the composer.json file in the root project.

### Editing the composer.json under require: {} section add

[](#editing-the-composerjson-under-require--section-add)

```
"rickysu/tagcache": "0.1.*",

```

### Update Composer :

[](#update-composer-)

```
php composer.phar update

```

#### driver

[](#driver)

The cache driver. Currently support "Memcache,Memcached,File,Sqlite,Apc,Nullcache". Nullcache is for testing only.

#### hashkey

[](#hashkey)

some driver like Memcached,only support 250 characters key length. Enable this option will use md5 hashed key.

#### enable\_largeobject

[](#enable_largeobject)

Memcache cannot store object over 1MB.Enable these option will fix this issue,but cause lower performance.default false.

#### servers

[](#servers)

Memcache server configs. format =&gt; "Host:Port:Weight"

How to Use
----------

[](#how-to-use)

### Using Tagcache for storing data.

[](#using-tagcache-for-storing-data)

```
