Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

spiral-modules/phpFastCache-bridge

Repository files navigation

PHPFastCache PSR6 and PSR16 adapters

Latest Stable Version Total Downloads Scrutinizer Code Quality Coverage Status Build Status

Spiral utilizes PSR-16 (ORM) and PSR-6 (psr7-middlewares) protocols to allow your application to communicate with cache engines.

Installation

composer require spiral/phpfastcache
spiral register spiral/phpfastcache

Existed Bridges

Take a look at existed module spiral/phpfastcache which creates bridge to https://github.com/PHPSocialNetwork/phpfastcache library and adds cache configuration into your application.

composer require spiral/phpfastcache spiral register spiral/phpfastcache

Add bootloader Spiral/PhpFastCache/CacheBootloader to enable caching.