PMVC Develop Util for get all app, plugs etc

0.3.9 2021-11-23 20:12 UTC

This package is auto-updated.

Last update: 2021-11-23 20:14:17 UTC


README

Latest Stable Version Latest Unstable Version CircleCI License Total Downloads

dev

Best plug order

  • put dev before debug, you could get most of plug trace
\PMVC\Load::plug([
    'controller'=>null
    ,'dispatcher'=>null

    /*dev*/
    ,'error'=>['all']
    ,'dev'=>null
    ,'debug'=>null
]);

Unit test tip

        \PMVC\plug('debug',[
            'output'=> '*Output Plugin*'
        ])->setLevel('*Test Level*', true);
        \PMVC\plug('dev')->onResetDebugLevel();

Why help also trigger dump

Install with Composer

1. Download composer

2. Install by composer.json or use command-line directly

2.1 Install by composer.json

  • vim composer.json
{
    "require": {
        "pmvc-plugin/dev": "dev-master"
    }
}
  • php composer.phar install

2.2 Or use composer command-line

  • php composer.phar require pmvc-plugin/dev