2017 © Pedro Peláez
 

yii2-extension yii2-debug-memcached

The memcached panel for Yii2 debug module

image

salopot/yii2-debug-memcached

The memcached panel for Yii2 debug module

  • Monday, May 23, 2016
  • by salopot
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,817 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 9 % Grown

The README.md

Yii2 debug memcached panel

The memcached panel for Yii2 debug module, (*1)

Features

  • Show memcached statistic per server
  • Automatic get configuration from cache component
  • Configurable cache usage levels for warnings
  • Use Formatter or internal converter to show statistic

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist salopot/yii2-debug-memcached "dev-master"

or add, (*4)

"salopot/yii2-debug-memcached": "dev-master"

to the require section of your composer.json file., (*5)

Update config: add panel to your debug module configuration:, (*6)

'components'=>[
    ...
    'cache' => [
        'class' => 'yii\caching\MemCache',
         'servers' => [
            [
                'host' => 'server1',
                'port' => 11211,
                'weight' => 100,
            ],
            [
                'host' => 'server2',
                'port' => 11211,
                'weight' => 50,
            ],
            ***
         ],

    ],
    ...

],
...
'modules'=>[
    ...
    'debug'=>[
        ...
        'panels'=>[
            ...
            'memcached'=>[
                'class' => '\salopot\debug\memcached\panels\MemcachedPanel',
                //'useFormatter' => false,
            ]
        ]
    ]
    ...
]

Usage

You will see a debugger toolbar showing at the bottom of every page of your application. You can click on the "Memcached" toolbar panel to see more detailed debug information., (*7)

The Versions

23/05 2016

dev-master

9999999-dev

The memcached panel for Yii2 debug module

  Sources   Download

MIT

The Requires

 

by Alexander Kireev

yii2 extension yii2-debug memcached panel