PHPackages                             suntechsoft/zend-expressive-tooling - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. suntechsoft/zend-expressive-tooling

ActiveLibrary[HTTP &amp; Networking](/categories/http)

suntechsoft/zend-expressive-tooling
===================================

Migration and development tooling for Expressive

2.1.0(5y ago)01BSD-3-ClausePHPPHP &gt;=7.1

Since Dec 6Pushed 5y agoCompare

[ Source](https://github.com/suntechsoft/zend-expressive-tooling)[ Packagist](https://packagist.org/packages/suntechsoft/zend-expressive-tooling)[ RSS](/packages/suntechsoft-zend-expressive-tooling/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (16)Versions (33)Used By (0)

zend-expressive-tooling
=======================

[](#zend-expressive-tooling)

> ## Repository abandoned 2019-12-31
>
> [](#repository-abandoned-2019-12-31)
>
> This repository has moved to [mezzio/mezzio-tooling](https://github.com/mezzio/mezzio-tooling).

[![Build Status](https://camo.githubusercontent.com/825372450004968d2db7a310fe02938137ac49f0591ac805e52bb3861c76cf8a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d746f6f6c696e672e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zendframework/zend-expressive-tooling)[![Coverage Status](https://camo.githubusercontent.com/7d2d2b538d0df48c61cd061c2adabdd9537a6543cd7204b0389e260d2b2c8658/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d746f6f6c696e672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zendframework/zend-expressive-tooling?branch=master)

*Migration and development tools for Expressive.*

Installation
------------

[](#installation)

Install via composer:

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

`expressive` Tool
-----------------

[](#expressive-tool)

- `vendor/bin/expressive`: Entry point for all tooling. Currently exposes the following:

    - **action:create**: Create an action class file; this is an alias for the `handler:create` command, listed below.
    - **factory:create**: Create a factory class file for the named class. The class file is created in the same directory as the class specified.
    - **handler:create**: Create a PSR-15 request handler class file. Also generates a factory for the generated class, and, if a template renderer is registered with the application container, generates a template and modifies the class to render it into a zend-diactoros `HtmlResponse`.
    - **middleware:create**: Create a PSR-15 middleware class file.
    - **migrate:interop-middleware**: Migrate interop middlewares and delegators to PSR-15 middlewares and request handlers.
    - **migrate:middleware-to-request-handler**: Migrate PSR-15 middlewares to request handlers.
    - **module:create**: Create and register a middleware module with the application.
    - **module:deregister**: Deregister a middleware module from the application.
    - **module:register**: Register a middleware module with the application.

Configurable command option values
----------------------------------

[](#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:
