Repository abandoned 2019-12-31
This repository has moved to mezzio/mezzio-tooling.
Migration and development tools for Expressive.
Install via composer:
$ composer require --dev zendframework/zend-expressive-tooling
expressive
Toolvendor/bin/expressive
: Entry point for all tooling. Currently exposes the
following:
handler:create
command, listed below.HtmlResponse
.If the --modules-path
of your project is not under src
, you can either
provide the path via the --modules-path
command-line option, or configure it
within your application configuration. By adding the changed path to your
application configuration, you can omit the need to use the --modules-path
option during cli execution for the various module:*
commands.
// In config/autoload/application.global.php:
<?php
declare(strict_types = 1);
use Zend\Expressive\Tooling\Module\CommandCommonOptions;
return [
/* ... */
CommandCommonOptions::class => [
'--modules-path' => 'custom-directory',
],
];