alex-kalanis / kw_cache
Cache for KWCMS
v4.0.0
2024-03-31 15:00 UTC
Requires
- php: >=7.4
- ext-json: *
- alex-kalanis/kw_paths: >=4.0 <5
- alex-kalanis/kw_semaphore: >=2.0 <3
Requires (Dev)
- alex-kalanis/kw_files: >=4.0 <5
- alex-kalanis/kw_storage: >=5.0 <6
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=8.0 <=9
- shipmonk/composer-dependency-analyser: ^1.4
README
Cache content across the KWCMS. Use storage interfaces or directly volume. Contains a simple support for semaphores as remote flags for cache re-generating.
PHP Installation
composer.phar require alex-kalanis/kw_cache
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Set storage(s) which will be used by cache.
3.) Connect the "kalanis\kw_cache*" into your app. Extends it for setting your case.
4.) Just call it