Conventions & code formating

This commit is contained in:
iPurpl3x
2021-12-21 17:44:27 +01:00
parent fcd833a248
commit 590d0084c5
11 changed files with 383 additions and 198 deletions

View File

@@ -1,16 +1,19 @@
# ⚡️ Redis Setup
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/glowingblue/flarum-ext-redis-setup/blob/master/LICENSE.md) [![Latest Stable Version](https://img.shields.io/packagist/v/glowingblue/redis-setup.svg)](https://packagist.org/packages/glowingblue/redis-setup) [![Total Downloads](https://img.shields.io/packagist/dt/glowingblue/redis-setup.svg)](https://packagist.org/packages/glowingblue/redis-setup)
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/glowingblue/flarum-ext-redis-setup/blob/master/LICENSE.md)
[![Latest Stable Version](https://img.shields.io/packagist/v/glowingblue/redis-setup.svg)](https://packagist.org/packages/glowingblue/redis-setup)
[![Total Downloads](https://img.shields.io/packagist/dt/glowingblue/redis-setup.svg)](https://packagist.org/packages/glowingblue/redis-setup)
A [Flarum](http://flarum.org) extension.
Makes it easy to enable/disable Redis features:
- Cache
- Queue
- Sessions
- Cache
- Queue
- Sessions
If you are using a local redis setup, you will likely be able to simply use the defaults provided. Any of these can be overridden using environment variables as follows:
If you are using a local redis setup, you will likely be able to simply use the defaults provided.
Any of these can be overridden using environment variables as follows:
```ini
REDIS_HOST='127.0.0.1 # Optional, else uses default
@@ -37,7 +40,7 @@ php flarum cache:clear
## 🔗 Links
- [Flarum Discuss post](https://discuss.flarum.org/d/27455)
- [Source code on GitHub](https://github.com/glowingblue/flarum-ext-redis-setup)
- [Report an issue](https://github.com/glowingblue/flarum-ext-redis-setup/issues)
- [Download via Packagist](https://packagist.org/packages/glowingblue/redis-setup)
- [Flarum Discuss post](https://discuss.flarum.org/d/27455)
- [Source code on GitHub](https://github.com/glowingblue/flarum-ext-redis-setup)
- [Report an issue](https://github.com/glowingblue/flarum-ext-redis-setup/issues)
- [Download via Packagist](https://packagist.org/packages/glowingblue/redis-setup)