PHP code example of zendframework / zend-expressive-tooling

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

    

zendframework / zend-expressive-tooling example snippets


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



declare(strict_types = 1);

use Zend\Expressive\Tooling\Module\CommandCommonOptions;

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