2017 © Pedro Peláez
 

library cache

Caching that doesn't block.

image

amphp/cache

Caching that doesn't block.

  • Saturday, July 28, 2018
  • by amphp
  • Repository
  • 5 Watchers
  • 14 Stars
  • 103,824 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 9 Forks
  • 1 Open issues
  • 9 Versions
  • 12 % Grown

The README.md

amphp/cache

AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind. amphp/cache specifically provides a cache interface and multiple implementations of it., (*1)

Latest Release MIT License, (*2)

Installation

This package can be installed as a Composer dependency., (*3)

composer require amphp/cache

Usage

AtomicCache

Cache

<?php

namespace Amp\Cache;

interface Cache
{
    public function get(string $key): mixed;

    public function set(string $key, mixed $value, int $ttl = null): void;

    public function delete(string $key): ?bool;
}

LocalCache

NullCache

Cache implementation that just ignores all operations and always resolves to null., (*4)

PrefixCache

SerializedCache

StringCache

StringCacheAdapter

The Versions

28/07 2018
31/03 2018

dev-master

9999999-dev https://github.com/amphp/cache

A promise-aware caching API for Amp.

  Sources   Download

MIT

The Requires

 

The Development Requires

04/10 2017
24/06 2017
16/06 2017

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/amphp/cache

A promise-aware caching API for Amp.

  Sources   Download

MIT

The Requires

 

The Development Requires

16/06 2017
17/03 2017

dev-amp_v2

dev-amp_v2 https://github.com/amphp/cache

A promise-aware caching API built on the amp concurrency framework

  Sources   Download

MIT

The Requires

 

The Development Requires

07/03 2017

0.1.x-dev

0.1.9999999.9999999-dev https://github.com/amphp/cache

A promise-aware caching API built on the amp concurrency framework

  Sources   Download

MIT

The Requires

 

The Development Requires

09/09 2015

v0.1.0

0.1.0.0 https://github.com/amphp/cache

A promise-aware caching API built on the amp concurrency framework

  Sources   Download

MIT

The Requires

 

The Development Requires