lesjoursfr / filesystem-cache
A PSR-6 cache implementation using filesystem. This implementation supports tags
2.0.0
2024-07-18 10:23 UTC
Requires
- php: ^8.0
- psr/cache: ^3.0
- psr/log: ^3.0
- psr/simple-cache: ^3.0
Requires (Dev)
- escapestudios/symfony2-coding-standard: ^3.13.0
- phpstan/extension-installer: ^1.4.1
- phpstan/phpstan: ^1.11.7
- phpstan/phpstan-deprecation-rules: ^1.2.0
- phpstan/phpstan-phpunit: ^1.4.0
- phpunit/phpunit: ^11.2.7
- squizlabs/php_codesniffer: ^3.10.1
Provides
This package is auto-updated.
Last update: 2024-11-01 10:48:44 UTC
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