lesjoursfr / filesystem-cache
A PSR-6 cache implementation using filesystem. This implementation supports tags
2.0.1
2024-12-03 19:39 UTC
Requires
- php: ^8.0
- psr/cache: ^3.0
- psr/log: ^3.0.2
- psr/simple-cache: ^3.0
Requires (Dev)
- escapestudios/symfony2-coding-standard: ^3.15.0
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan: ^2.0.3
- phpstan/phpstan-deprecation-rules: ^2.0.1
- phpstan/phpstan-phpunit: ^2.0.1
- phpunit/phpunit: ^11.4.4
- squizlabs/php_codesniffer: ^3.11.1
Provides
README
This is a PSR-6 cache implementation using Filesystem. This project is a fork of the original PHP Cache cache/filesystem-adapter project.
Installation
composer install lesjoursfr/filesystem-cache
Development only
To install the Symphony PHP CS you have to run the following commands (assuming you have downloaded composer.phar) :
php composer.phar install
vendor/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard
Then you can check the code style with the following command
vendor/squizlabs/php_codesniffer/bin/phpcs --standard=./phpcs.xml --no-cache --parallel=1 ./src ./tests
You can analyse the project with PHPStan
vendor/bin/phpstan analyse
You can run PHPUnit Tests
vendor/bin/phpunit