yafa11/mc-viewer

Memcache key viewer

1.0.5 2018-08-08 23:57 UTC

This package is not auto-updated.

Last update: 2024-10-11 08:06:31 UTC


README

A GUI/interface for finding and viewing the contents of keys on one or more memcache servers.

Installation

Install with composer

Install composer

As a standalone aplication:

From the command line

    composer require yafa11/mc-viewer:@stable

As a library to an existing project:

In your projects composer.json file add:

    {
        "require": {
            "yafa11/mc-viewer": "@stable"
        }
    }

The packages adheres to the SemVer specification, and will maintian full backwards compatibility between minor versions.

Create a config.ini file

Copy /src/config/config.ini.example to /src/config/config.ini and modify it to match your cache server setup.

Basic Usage

Stand alone usage:

From vendor/yafa11/mc-viewer/public run 'php -S 127.0.0.1:8888' In a browser navigate to http://127.0.0.1:8888

As part of another project

The view template of mcViewer is completely separate from the logic used to query and gather the cache keys and values. This means that usage of the included html scripts is completely optional. If you wish to resuse the html code, copy the /src/public/mcViewer folder into your projects public folder. Then point your browser at <your domain>/mcViwer/mcViewer.html