PHPackages                             hashtap/memcache - 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. hashtap/memcache

ActiveLibrary[Caching](/categories/caching)

hashtap/memcache
================

Memcache driver for Laravel

2.0.6(5y ago)056MITPHPPHP ^7.2

Since Apr 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hashtap/laravel-memcache)[ Packagist](https://packagist.org/packages/hashtap/memcache)[ Docs](https://github.com/hasthap/laravel-memcache)[ RSS](/packages/hashtap-memcache/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (5)Versions (9)Used By (0)

[![Build Status](https://camo.githubusercontent.com/fb915529505de2cd68a9a7b9c4f8fb7adb64948228cda4513d597674fba8aa81/68747470733a2f2f7472617669732d63692e6f72672f73776967676c65732f6c61726176656c2d6d656d63616368652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/swiggles/laravel-memcache)

Laravel Memcache Driver
-----------------------

[](#laravel-memcache-driver)

If you're developing on Windows and you're having trouble setting up Memcached with Laravel.

Developed for using a taggable cache store and testing it locally on a Windows OS.

========

### Installation

[](#installation)

Make sure you've got both a memcached server and the memcache php extension installed.

Add the package to your composer.json and run composer update.

Update: added Laravel 5 support, not BC

```
"hashtap/memcache": "~2.0"
```

Add the memcache service provider in app/config/app.php:

```
'Swiggles\Memcache\MemcacheServiceProvider',
```

You may now update your config/cache.php config file to use memcache

```
'default' => 'memcache',
```

You may now update your config/session.php config file to use memcache

```
'driver' => 'memcache',
```

**Notice: This memcache driver uses the same config as Memcached**

This package originated from . It has been modified to work with Laravel 5.2.

Changes
=======

[](#changes)

- \[2.0\] Laravel 5.2 support added, (not bc)
- \[2.0.1\] Removed support for PHP 5.4
- \[2.0.2\] Laravel ~5.0 support added
- \[2.0.3\] Support Laravel 7.0

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 58.1% 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 ~319 days

Recently: every ~325 days

Total

7

Last Release

2145d ago

Major Versions

v1.0.0 → 2.02016-02-03

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

2.0.4PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cb105fd077387eb1c77d17f9729345b4d3e053eba6bd9e2fce3f36bdf62749e?d=identicon)[hashtap](/maintainers/hashtap)

---

Top Contributors

[![Swiggles](https://avatars.githubusercontent.com/u/180181114?v=4)](https://github.com/Swiggles "Swiggles (18 commits)")[![atldays](https://avatars.githubusercontent.com/u/130153594?v=4)](https://github.com/atldays "atldays (11 commits)")[![Levsha-cc](https://avatars.githubusercontent.com/u/6570249?v=4)](https://github.com/Levsha-cc "Levsha-cc (1 commits)")[![scomans](https://avatars.githubusercontent.com/u/631504?v=4)](https://github.com/scomans "scomans (1 commits)")

---

Tags

laravelcachecachingmemcache

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hashtap-memcache/health.svg)

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

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[swiggles/memcache

Memcache driver for Laravel 5

1449.9k1](/packages/swiggles-memcache)[maartenstaa/laravel-41-route-caching

This package allows you to cache your routes definitions, thereby speeding up each request.

25371.9k](/packages/maartenstaa-laravel-41-route-caching)[dragon-code/laravel-cache

An improved interface for working with cache

6844.8k10](/packages/dragon-code-laravel-cache)[nexxai/laravel-cfcache

A handful of Cloudflare cache helpers for Laravel

1317.7k](/packages/nexxai-laravel-cfcache)[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)

PHPackages © 2026

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