swiggles/memcache 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

swiggles/memcache

最新稳定版本:2.0.1

Composer 安装命令:

composer require swiggles/memcache

包简介

Memcache driver for Laravel 5

README 文档

README

Build Status

Laravel 5 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

Make sure you've got both a memcached server and the memcache php extension installed. http://stannesi.blogspot.co.uk/2011/11/how-to-install-memcache-on-xampp.html

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

Update: added Laravel 5 support, not BC

"swiggles/memcache": "~2.0"

Use the below for older versions of laravel 5

"swiggles/memcache": "~1.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 https://github.com/igormatkovic/Laravel-4-Memcache. It has been modified to work with Laravel 5.2.

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

统计信息

  • 总下载量: 49.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 14
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 4
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-02