alfa6661/laravel-mongodb-cache
Laravel Mongodb Cache
A MongoDB cache driver for Laravel
Installation
Make sure you have jenssegers\mongodb installed before you continue.
Install using composer:
composer require alfa6661/laravel-mongodb-cache
Add the session service provider in app/config/app.php:
'Alfa6661\Mongodb\Cache\MongoCacheServiceProvider',
Add mongodb cache store in app/config/cache.php
'stores' => [
/...
'mongodb' => [
'driver' => 'mongodb',
'table' => 'cache',
'connection' => null,
],
],
Update your .env file and change the CACHE_DRIVER to mongodb
CACHE_DRIVER=mongodb
Related Packages
tightenco/duster
Automatic configuration for Laravel apps to apply Tighten's standard linting & c...
3,215,959
604
juzaweb/cms
Juzaweb CMS is a Content Management System (CMS) developed based on Laravel Fram...
571,275
191
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.0.2 | >=7.0.0 | ^5.5| | MIT | |
| v2.0.1 | >=7.0.0 | ~5.5 | MIT | |
| v2.0.0 | >=7.0.0 | ~5.5 | MIT | |
| v1.0.0 | >=5.6.4 | ~5.0 | MIT |