PHP code example of mezzio / mezzio-tooling

1. Go to this page and download the library: Download mezzio/mezzio-tooling 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/ */

    

mezzio / mezzio-tooling example snippets


// In config/autoload/application.global.php:



declare(strict_types = 1);

use Mezzio\Tooling\Module\CommandCommonOptions;

return [
    /* ... */
    CommandCommonOptions::class => [
        '--modules-path' => 'custom-directory',
    ],
];