2017 © Pedro Peláez
 

library dev

PMVC Develop Util for get all app, plugs etc

image

pmvc-plugin/dev

PMVC Develop Util for get all app, plugs etc

  • Wednesday, February 14, 2018
  • by HillLiu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,313 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 3 % Grown

The README.md

Latest Stable Version Latest Unstable Version CircleCI License Total Downloads, (*1)

dev

How to set debug level

  • https://github.com/pmvc-plugin/debug#how-to-trigger-debug

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();

phpunit

  • https://github.com/pmvc-plugin/dev/blob/main/tests/DevWithPhpUnitTest.php

debug with cli

\PMVC\plug('dev')->debug_with_cli();
  • display debug only (without trace)
\PMVC\plug('dev')->debug_with_cli('debug');
  • accept multiple dump level
\PMVC\plug('dev')->debug_with_cli('debug, trace, help');

Why help also trigger dump

  • https://github.com/pmvc-plugin/dev/blob/main/dev.php#L45

Install with Composer

CLICK TO SEE
, (*2)

### 1. Download composer * mkdir test_folder * curl -sS https://getcomposer.org/installer | php ### 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 or * composer require pmvc-plugin/dev , (*3)

, (*4)

The Versions

14/02 2018

dev-master

9999999-dev

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

14/02 2018

0.1.30

0.1.30.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

05/02 2018

0.1.29

0.1.29.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

30/10 2017

0.1.28

0.1.28.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

30/10 2017

0.1.27

0.1.27.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

09/09 2017

0.1.26

0.1.26.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

05/09 2017

0.1.25

0.1.25.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

24/08 2017

0.1.20

0.1.20.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

15/08 2017

0.1.19

0.1.19.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

dev plug-in pmvc

18/04 2017

0.1.8

0.1.8.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

by Hill

dev plug-in pmvc

02/03 2017

0.1.7

0.1.7.0

PMVC Develop Util for get all app, plugs etc

  Sources   Download

MIT

The Requires

 

by Hill

dev plug-in pmvc