An open API service indexing awesome lists of open source software.

https://github.com/cdubz/lando-phpcacheadmin

Lando service plugin for phpCacheAdmin
https://github.com/cdubz/lando-phpcacheadmin

lando lando-plugin memcached php redis

Last synced: 3 months ago
JSON representation

Lando service plugin for phpCacheAdmin

Awesome Lists containing this project

README

        

Banner

# phpCacheAdmin Plugin for Lando

A [Lando.dev](https://lando.dev) service plugin for [phpCacheAdmin](https://github.com/RobiNN1/phpCacheAdmin)

## Requirements

- [Lando v3+](https://lando.dev/)

## Installation

- [Download the latest version of the plugin](https://github.com/cdubz/lando-phpcacheadmin/releases/latest) (`phpcacheadmin-vX.Y.Z.zip`)
- Extract the `phpcacheadmin` folder to the Lando plugins folder (`~/.lando/plugins`)

> If the `plugins` directory doesn't exist, create it:
> ```bash
> mkdir -p ~/.lando/plugins
> ```

## Configuration

You may configure phpCacheAdmin within your Landofile, by setting a service alongside your cache services.

```yaml
name: phpcacheadmin-1.x-example
recipe: lamp
config:
webroot: .
services:
cache1:
type: redis
cache2:
type: memcached
phpcacheadmin:
type: phpcacheadmin:1
hosts:
- type: redis
host: cache1
- type: memcached
host: cache2
```

### Configuration options

Supported configurations options per host are:

#### Memcached

- `name`: The server name for an info panel, useful when you have multiple servers added (Optional, default name is Localhost)
- `host`: Memcached server host
- `port`: Memcached server port (Optional, default is 11211)

#### Redis

- `name`: The server name for an info panel, useful when you have multiple servers added (Optional, default name is Localhost)
- `host`: Redis server host
- `port`: Redis server port (Optional, default is 6379)
- `database`: Redis database (Optional, default is 0)
- `password`: Redis database (Optional, empty by default)