Download the PHP package ferdiunal/laravel-cache-couchdb without Composer
On this page you can find all versions of the php package ferdiunal/laravel-cache-couchdb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ferdiunal/laravel-cache-couchdb
More information about ferdiunal/laravel-cache-couchdb
Files in ferdiunal/laravel-cache-couchdb
Package laravel-cache-couchdb
Short Description This package provides a cache store implementation for Laravel that uses a CouchDB database to store cached items. It supports both the default and tagged cache functionality of Laravel.
License MIT
Homepage https://github.com/ferdiunal/laravel-cache-couchdb
Informations about the package laravel-cache-couchdb
Laravel CouchDB Cache Driver
This package provides a cache store implementation for Laravel that uses a CouchDB database to store cached items. It supports both the default and tagged cache functionality of Laravel.
Requirements
This package requires the following:
- PHP >= 8.2
- Laravel >= 9.0
- A CouchDB instance
Installation
You can install this package via Composer. Run the following command:
Configuration
To use the CouchDB cache driver, you will need to add it to the config/cache.php
file as follows:
You can then set the CACHE_DRIVER
environment variable to 'couchdb'
to use the CouchDB cache driver.
Usage
After the configuration is set up, you can use the CouchDB cache driver in your Laravel application as you would any other cache driver. Here are a few examples:
Tagged Cache
The CouchDB cache driver also supports the tagged cache functionality of Laravel. Here are a few examples:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Ferdi ÜNAL
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-cache-couchdb with dependencies
doctrine/couchdb Version ^1.0@beta
illuminate/contracts Version ^9.0|^10.0
spatie/laravel-package-tools Version ^1.14.0