2017 © Pedro Peláez
 

library filesystem-adapter

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

image

cache/filesystem-adapter

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

  • Wednesday, June 6, 2018
  • by Nyholm
  • Repository
  • 3 Watchers
  • 19 Stars
  • 205,926 Installations
  • PHP
  • 50 Dependents
  • 13 Suggesters
  • 4 Forks
  • 0 Open issues
  • 10 Versions
  • 16 % Grown

The README.md

Filesystem PSR-6 Cache pool

Gitter Latest Stable Version codecov.io Total Downloads Monthly Downloads Software License, (*1)

This is a PSR-6 cache implementation using Filesystem. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com., (*2)

This implementation is using the excellent Flysystem., (*3)

Install

composer require cache/filesystem-adapter

Use

To create an instance of FilesystemCachePool you need to configure a Filesystem and its adapter., (*4)

use League\Flysystem\Adapter\Local;
use League\Flysystem\Filesystem;
use Cache\Adapter\Filesystem\FilesystemCachePool;

$filesystemAdapter = new Local(__DIR__.'/');
$filesystem        = new Filesystem($filesystemAdapter);

$pool = new FilesystemCachePool($filesystem);

You can change the folder the cache pool will write to through the setFolder setter:, (*5)

$pool = new FilesystemCachePool($filesystem);
$pool->setFolder('path/to/cache');

Contribute

Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker., (*6)

The Versions

06/06 2018

dev-master

9999999-dev http://www.php-cache.com/en/latest/

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

16/07 2017

1.0.0

1.0.0.0 http://www.php-cache.com/en/latest/

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

13/03 2017

0.4.0

0.4.0.0 http://www.php-cache.com/en/latest/

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

25/12 2016

0.3.3

0.3.3.0 http://www.php-cache.com/en/latest/

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

19/10 2016

0.3.2

0.3.2.0 http://www.php-cache.com/en/latest/

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

07/08 2016

0.3.1

0.3.1.0 http://www.php-cache.com/en/latest/

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

25/02 2016

0.3.0

0.3.0.0 https://github.com/php-cache/filesystem-adapter

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

24/01 2016

0.2.1

0.2.1.0 https://github.com/php-cache/filesystem-adapter

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

20/01 2016

0.2.0

0.2.0.0 https://github.com/php-cache/filesystem-adapter

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6

07/01 2016

0.1.0

0.1.0.0 https://github.com/php-cache/filesystem-adapter

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

  Sources   Download

MIT

The Requires

 

The Development Requires

filesystem cache tag psr-6