zendframework / zend-expressive-tooling

Migration and development tooling for Expressive
BSD 3-Clause "New" or "Revised" License
32 stars 25 forks source link

zend-expressive-tooling

Repository abandoned 2019-12-31

This repository has moved to mezzio/mezzio-tooling.

Build Status Coverage Status

Migration and development tools for Expressive.

Installation

Install via composer:

$ composer require --dev zendframework/zend-expressive-tooling

expressive Tool

Configurable command option values

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',
    ],
];