nsrosenqvist / soma-cache
The Symfony Cache module for the SOMA framework
1.0.1
2020-06-09 13:05 UTC
Requires
- php: >=7.0.0
- illuminate/support: ^7.0
- symfony/cache: ^5.0
This package is auto-updated.
Last update: 2024-12-09 22:52:15 UTC
README
Installation
composer require nsrosenqvist/soma-cache
Usage
First register the service provider.
Example configuration:
<?php return [ 'default' => 'files', 'stores' => [ 'files' => [ 'driver' => 'filesystem', 'directory' => get_path('cache').'/files', ], ], ];
To see how to configure all supported cache adapters review how the configuration is processed in CacheProvider::resolveAdapter
.
License
MIT