承接 adammbalogh/key-value-store-memcached 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

adammbalogh/key-value-store-memcached

Composer 安装命令:

composer require adammbalogh/key-value-store-memcached

包简介

Key-value memcached store through the memcached extension.

README 文档

README

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads

SensioLabsInsight

Description

This library provides a layer to a key value memcached store.

It uses the memcached extension.

Check out the abstract library to see the other adapters and the Api.

Installation

Install it through composer.

{
    "require": {
        "adammbalogh/key-value-store-memcached": "@stable"
    }
}

tip: you should browse the adammbalogh/key-value-store-memcached page to choose a stable version to use, avoid the @stable meta constraint.

Usage

<?php
use AdammBalogh\KeyValueStore\KeyValueStore;
use AdammBalogh\KeyValueStore\Adapter\MemcachedAdapter as Adapter;

$memcachedClient = new Memcached();
$memcachedClient->addServer('localhost', 11211);

$adapter = new Adapter($memcachedClient);

$kvs = new KeyValueStore($adapter);

$kvs->set('sample_key', 'Sample value');
$kvs->get('sample_key');
$kvs->delete('sample_key');

API

Please visit the API link in the abstract library.

Toolset

Key Value Server
✔ delete ✔ get ✔ flush
✔ expire ✔ set
✔ getTtl
✔ has
✔ persist

Support

Support with Gittip

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固