leonsw/cache

This package is abandoned and no longer maintained. The author suggests using the leonsw/cache package instead.

Leonsw Cache

Maintainers

Details

github.com/leonsw-cloud/cache

This package has no released version yet, and little information is available.


README

The package ...

Usage

$cache = $container->get(CacheManager::class)->getDriver('db');

cache.php

return [
    'db' => [
        'driver' => Leonsw\Cache\DatabaseDriver::class,
        'packer' => Hyperf\Utils\Packer\PhpSerializerPacker::class,
        'prefix' => 'c:',
        'table' => 'cache',
    ],
];