PHPackages                             alex-kalanis/memcache-wrapper - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. alex-kalanis/memcache-wrapper

ActiveLibrary[File &amp; Storage](/categories/file-storage)

alex-kalanis/memcache-wrapper
=============================

PHP wrapper for questioning Memcache as file storage

v2.0.2(2y ago)04BSD-3-ClausePHPPHP &gt;=7.4.0

Since Dec 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/memcache-wrapper)[ Packagist](https://packagist.org/packages/alex-kalanis/memcache-wrapper)[ RSS](/packages/alex-kalanis-memcache-wrapper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

Memcache Wrapper
================

[](#memcache-wrapper)

[![Build Status](https://github.com/alex-kalanis/memcache-wrapper/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/memcache-wrapper/actions/workflows/code_checks.yml/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/1ba357a977e9b8dcda8567cba5ce0ef649492afa57c8bea71985aab3ec5efe78/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6d656d63616368652d777261707065722f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/memcache-wrapper)[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/68e93585a5e40b5b73d32432b25aa0ded73aa72478136ed4abfba6ed5f266fda/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f6d656d63616368652d777261707065722e7376673f7631)](https://packagist.org/packages/alex-kalanis/memcache-wrapper)[![License](https://camo.githubusercontent.com/76095ee72b00d1af595cc52968edbaf39e8d9e01affe8d5339c34ad8640eca25/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6d656d63616368652d777261707065722f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/memcache-wrapper)

Use Memcache records as they were usual files.

Installation
============

[](#installation)

```
composer.phar require alex-kalanis/memcache-wrapper
```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

Usages
======

[](#usages)

Just only initialize wrapper with your Memcache instance.

Memcache module:

```
    $memcache = new \MemcachePool();
    MemcacheWrapper::setPool($memcache);
    MemcacheWrapper::register();
```

Then work something like following:

```
    file_get_contents('memcache://any/key/in/memcache/storage');
    file_put_contents('memcache://another/key/in/storage', 'add something');
```

For using storage just look onto kv\_storage readme.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~296 days

Total

5

Last Release

775d ago

Major Versions

v1.1.0 → v2.0.02024-03-29

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v2.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/499b0a541b787cdb31412f578c7b94c9790bcbee7de12c65b6101c6ce45ef6f0?d=identicon)[alex-kalanis](/maintainers/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (10 commits)")

---

Tags

wrapperstoragememcachewrappers

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-memcache-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-memcache-wrapper/health.svg)](https://phpackages.com/packages/alex-kalanis-memcache-wrapper)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[qiniu/php-sdk

Qiniu Resource (Cloud) Storage SDK for PHP

8483.0M240](/packages/qiniu-php-sdk)[sylius/resource-bundle

Resource component for Sylius.

23410.2M173](/packages/sylius-resource-bundle)[microsoft/azure-storage-blob

This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Blob APIs.

5516.0M60](/packages/microsoft-azure-storage-blob)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
