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
- Host: GitHub
- URL: https://github.com/cdubz/lando-phpcacheadmin
- Owner: cdubz
- License: gpl-3.0
- Created: 2022-08-03T00:18:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T15:22:52.000Z (about 2 years ago)
- Last Synced: 2025-01-20T19:53:39.568Z (4 months ago)
- Topics: lando, lando-plugin, memcached, php, redis
- Language: JavaScript
- Homepage:
- Size: 70.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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)