PHPackages                             php-memcached/php-memcached - 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. php-memcached/php-memcached

ActivePhp-ext

php-memcached/php-memcached
===========================

memcached extension based on libmemcached library

v3.4.0(7mo ago)99913.7k↑93.5%326[38 issues](https://github.com/php-memcached-dev/php-memcached/issues)[4 PRs](https://github.com/php-memcached-dev/php-memcached/pulls)PHP-3.01CPHP &gt;= 7.0.0

Since Oct 4Pushed 7mo ago64 watchersCompare

[ Source](https://github.com/php-memcached-dev/php-memcached)[ Packagist](https://packagist.org/packages/php-memcached/php-memcached)[ RSS](/packages/php-memcached-php-memcached/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (5)Used By (0)

Build Status
------------

[](#build-status)

[![Build Status](https://github.com/php-memcached-dev/php-memcached/actions/workflows/build-and-test.yml/badge.svg?branch=master)](https://github.com/php-memcached-dev/php-memcached/actions/workflows/build-and-test.yml/badge.svg?branch=master)

Description
-----------

[](#description)

This is the [PECL memcached](https://pecl.php.net/package/memcached) extension, using the libmemcached library to connect to memcached servers.

[memcached](https://memcached.org) is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Building
--------

[](#building)

```
$ phpize
$ ./configure
$ make
$ make test

```

Dependencies
------------

[](#dependencies)

php-memcached 3.x:

- Supports PHP 7.0 - 8.3 or higher.
- Requires libmemcached 1.x or higher.
- Optionally supports igbinary 2.0 or higher.
- Optionally supports msgpack 2.0 or higher.

php-memcached 2.x:

- Supports PHP 5.2 - 5.6.
- Requires libmemcached 0.44 or higher.
- Optionally supports igbinary 1.0 or higher.
- Optionally supports msgpack 0.5 or higher.

[libmemcached](http://libmemcached.org/libMemcached.html) or the new [libmemcached-awesome](https://github.com/awesomized/libmemcached) version 1.0.18 or higher is recommended for best performance and compatibility with memcached servers.

[igbinary](https://github.com/igbinary/igbinary) is a faster and more compact binary serializer for PHP data structures. When installing php-memcached from source code, the igbinary module must be installed first so that php-memcached can access its C header files. Load both modules in your `php.ini` at runtime to begin using igbinary.

[msgpack](https://msgpack.org) is a faster and more compact data structure representation that is interoperable with msgpack implementations for other languages. When installing php-memcached from source code, the msgpack module must be installed first so that php-memcached can access its C header files. Load both modules in your `php.ini` at runtime to begin using msgpack.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance63

Regular maintenance activity

Popularity54

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~187 days

Total

3

Last Release

218d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/199484b715cd870402da63c975a9ff12ae2ee5ef8c1b53a7c77188f1d9e3972f?d=identicon)[sodabrew](/maintainers/sodabrew)

---

Top Contributors

[![mkoppanen](https://avatars.githubusercontent.com/u/90124?v=4)](https://github.com/mkoppanen "mkoppanen (240 commits)")[![sodabrew](https://avatars.githubusercontent.com/u/39406?v=4)](https://github.com/sodabrew "sodabrew (98 commits)")[![andreiz](https://avatars.githubusercontent.com/u/40809?v=4)](https://github.com/andreiz "andreiz (63 commits)")[![iliaal](https://avatars.githubusercontent.com/u/158724?v=4)](https://github.com/iliaal "iliaal (59 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (51 commits)")[![tricky](https://avatars.githubusercontent.com/u/91601?v=4)](https://github.com/tricky "tricky (44 commits)")[![laruence](https://avatars.githubusercontent.com/u/382813?v=4)](https://github.com/laruence "laruence (42 commits)")[![krakjoe](https://avatars.githubusercontent.com/u/2236138?v=4)](https://github.com/krakjoe "krakjoe (28 commits)")[![m6w6](https://avatars.githubusercontent.com/u/1265282?v=4)](https://github.com/m6w6 "m6w6 (24 commits)")[![rlerdorf](https://avatars.githubusercontent.com/u/54641?v=4)](https://github.com/rlerdorf "rlerdorf (17 commits)")[![cmb69](https://avatars.githubusercontent.com/u/2306138?v=4)](https://github.com/cmb69 "cmb69 (10 commits)")[![TysonAndre](https://avatars.githubusercontent.com/u/1904430?v=4)](https://github.com/TysonAndre "TysonAndre (8 commits)")[![petk](https://avatars.githubusercontent.com/u/1614009?v=4)](https://github.com/petk "petk (6 commits)")[![pmmaga](https://avatars.githubusercontent.com/u/1273069?v=4)](https://github.com/pmmaga "pmmaga (4 commits)")[![xoJIog](https://avatars.githubusercontent.com/u/1876799?v=4)](https://github.com/xoJIog "xoJIog (4 commits)")[![dzuelke](https://avatars.githubusercontent.com/u/27900?v=4)](https://github.com/dzuelke "dzuelke (4 commits)")[![dictcp](https://avatars.githubusercontent.com/u/1752436?v=4)](https://github.com/dictcp "dictcp (3 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![phadej](https://avatars.githubusercontent.com/u/51087?v=4)](https://github.com/phadej "phadej (3 commits)")

### Embed Badge

![Health badge](/badges/php-memcached-php-memcached/health.svg)

```
[![Health](https://phpackages.com/badges/php-memcached-php-memcached/health.svg)](https://phpackages.com/packages/php-memcached-php-memcached)
```

PHPackages © 2026

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