PHPackages                             windomz/shmcache - 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. windomz/shmcache

ActiveLibrary[Caching](/categories/caching)

windomz/shmcache
================

A lightweight, abstract, scalable, out-of-the-box shared memory operation, makes use of the PHP Shared Memory Functions(shmop).

v1.0.2(8y ago)93.1k5[1 issues](https://github.com/WindomZ/shmcache/issues)1MITPHPPHP &gt;=7

Since Jun 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/WindomZ/shmcache)[ Packagist](https://packagist.org/packages/windomz/shmcache)[ RSS](/packages/windomz-shmcache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (5)Used By (1)

shmcache
========

[](#shmcache)

> A lightweight, abstract, scalable, out-of-the-box shared memory operation, makes use of the PHP Shared Memory Functions([shmop](https://secure.php.net/manual/en/ref.shmop.php)).

[![Latest Stable Version](https://camo.githubusercontent.com/082ed7276e6dc656ccbd0cc4531138f68e73bda831ca030a8a6458e2ac209234/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696e646f6d7a2f73686d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/windomz/shmcache)[![Build Status](https://camo.githubusercontent.com/911530646d9f1198c048f8e3d2750b37a663f40072d2094b11f754c0d186fc13/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f57696e646f6d5a2f73686d63616368652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/WindomZ/shmcache)[![Minimum PHP Version](https://camo.githubusercontent.com/90eed33e7df559b70b174e97d37a4907946803c7ab691640166d2518d8cd2118/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)

Features
--------

[](#features)

- Class [shmop](https://github.com/WindomZ/shmcache/blob/master/src/shmop.php) - *Abstract* and *scalable* make use of the [shmop](https://secure.php.net/manual/en/ref.shmop.php).
- Class [Block](https://github.com/WindomZ/shmcache/blob/master/src/Block.php) - **Key-value** pairs and **timeout** implement
- Class [Cache](https://github.com/WindomZ/shmcache/blob/master/src/Cache.php) - Extends `Block`, *lightweight* and *Out-of-the-box*
- Pure and not dependent, except for dev mode tests

Install
-------

[](#install)

Open the terminal in the project directory:

```
$ composer require windomz/shmcache
```

Usage
-----

[](#usage)

The idea behind **shmcache** is to keep *easy* to use and *flexibility*.

Provide key-value pairs of functions, more extensibility and convenience.

```
