PHP code example of pmvc-plugin / dev

1. Go to this page and download the library: Download pmvc-plugin/dev library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pmvc-plugin / dev example snippets


\PMVC\plug('dev')->debug_with_cli();

\PMVC\plug('dev')->debug_with_cli('debug');

\PMVC\plug('dev')->debug_with_cli('debug, trace, help');

\PMVC\Load::plug([
    'controller'=>null
    ,'dispatcher'=>null

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