PHPackages                             photon/session-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. [Caching](/categories/caching)
4. /
5. photon/session-memcached

ActiveLibrary[Caching](/categories/caching)

photon/session-memcached
========================

Memcached session backend.

v1.0.5(9y ago)0138LGPL-2.1PHP

Since Nov 21Pushed 9y ago3 watchersCompare

[ Source](https://github.com/photon/session-memcached)[ Packagist](https://packagist.org/packages/photon/session-memcached)[ Docs](http://www.photon-project.com/)[ RSS](/packages/photon-session-memcached/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

session-memcached
=================

[](#session-memcached)

[![Build Status](https://camo.githubusercontent.com/bf28cb56dba695bd59cb4d86e974f05515cb5063a9d42c4d85cd46628079913f/68747470733a2f2f7472617669732d63692e6f72672f70686f746f6e2f73657373696f6e2d6d656d6361636865642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/photon/session-memcached)

Memcached backend for session storage

Quick start
-----------

[](#quick-start)

1. Add the module in your project

    composer require "photon/session-memcached:dev-master"

or for a specific version

```
composer require "photon/session-memcached:1.0.0"

```

2. Define a MongoDB connection in your project configuration

    'databases' =&gt; array( 'session-db' =&gt; array( 'engine' =&gt; '\\photon\\db\\Memcached', 'host' =&gt; array('localhost:11211'), 'id' =&gt; 'myapp', ), ),
3. Define the session storage backend in your project configuration, and some others session parameters

    'session\_storage' =&gt; '\\photon\\session\\storage\\Memcached', 'session\_cookie\_domain' =&gt; '[www.example.com](http://www.example.com)', 'session\_cookie\_path' =&gt; '/', 'session\_timeout' =&gt; 4 \* 3600,
4. Define the configuration of the MongoDB Session module in your project configuration

    'session\_memcached' =&gt; array( 'database' =&gt; 'session-db', ),
5. Enjoy !

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

5

Last Release

3629d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/32f98ddde8bc7b4f6fadce6a4030a77dc6dfd8e08d8e5b122ab4cc70232f6341?d=identicon)[delkia](/maintainers/delkia)

---

Top Contributors

[![wysman](https://avatars.githubusercontent.com/u/1042272?v=4)](https://github.com/wysman "wysman (9 commits)")

---

Tags

memcachedsessionphoton

### Embed Badge

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

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

###  Alternatives

[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[cache/memcached-adapter

A PSR-6 cache implementation using Memcached. This implementation supports tags

161.9M14](/packages/cache-memcached-adapter)[alekseykorzun/memcached-wrapper-php

Optimized PHP 5 wrapper for Memcached extension that supports dog-piling, igbinary and local storage

2984.6k1](/packages/alekseykorzun-memcached-wrapper-php)[wp-cloud/phpmemcacheadmin

Graphic stand-alone administration for memcached to monitor and debug purpose

254.9k](/packages/wp-cloud-phpmemcacheadmin)

PHPackages © 2026

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