PHPackages                             janatzend/zend-expressive-legacy-bridge - 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. janatzend/zend-expressive-legacy-bridge

ActiveLibrary

janatzend/zend-expressive-legacy-bridge
=======================================

Package provides bridge functionality to run legacy apps inside Zend Expressive

0.2.0(9y ago)6433Apache-2.0PHPPHP &gt;=7.0

Since Oct 7Pushed 9y ago6 watchersCompare

[ Source](https://github.com/janatzend/zend-expressive-legacy-bridge)[ Packagist](https://packagist.org/packages/janatzend/zend-expressive-legacy-bridge)[ RSS](/packages/janatzend-zend-expressive-legacy-bridge/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Zend Expressive Legacy Bridge
=============================

[](#zend-expressive-legacy-bridge)

Zend Expressive Legacy Bridge is a library which allows legacy apps based on Zend Framework 1 and Symfony 1 to be run as a middleware layer in Zend Expressive. The goal is to provide a REST API for these application without code changes of the original app.

Prerequisites
-------------

[](#prerequisites)

Zend Expressive Legacy Bridge requires PHP 7

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

[](#installation)

To install with composer

```
composer require janatzend/zend-expressive-legacy-bridge

```

Loading Legacy Bridge
---------------------

[](#loading-legacy-bridge)

Legacy Bridge is providing several services and middleware implementations. In order to load them in to the Zend Expressive application one has to insert the array provided by the ConfigProvider service into the `dependencies` section of the config container.

### Example

[](#example)

If the the configuration is created according to the documentation here  a file called `legacybridge.global.php` should be placed in the `config/autoload` directory with the following content:

```
