Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge branch 'backports/factories-and-provider' into develop
Browse files Browse the repository at this point in the history
Close #57
  • Loading branch information
weierophinney committed Mar 8, 2018
2 parents 079417a + c94430d commit f42ef39
Show file tree
Hide file tree
Showing 14 changed files with 793 additions and 221 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ All notable changes to this project will be documented in this file, in reverse
`Zend\Expressive\Router\Middleware\ImplicitOptionsMiddleware`. It is imported
from zend-expressive, and implements the same functionality.

- [#57](https://github.com/zendframework/zend-expressive-router/pull/57) adds
the following factories for use with PSR-11 containers:

- Zend\Expressive\Router\Middleware\DispatchMiddlewareFactory`
- Zend\Expressive\Router\Middleware\ImplicitHeadMiddlewareFactory`
- Zend\Expressive\Router\Middleware\ImplicitOptionsMiddlewareFactory`
- Zend\Expressive\Router\Middleware\RouteMiddlewareFactory`

- [#57](https://github.com/zendframework/zend-expressive-router/pull/57) adds
`Zend\Expressive\Router\ConfigProvider`, mapping the above factories to their
respective middleware, and exposing it to zend-component-installer via the
package definition.

### Changed

- Nothing.
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"require": {
"php": "^5.6 || ^7.0",
"fig/http-message-util": "^1.1.2",
"psr/container": "^1.0",
"psr/http-message": "^1.0.1",
"webimpress/http-middleware-compatibility": "^0.1.1"
},
Expand Down Expand Up @@ -53,6 +54,9 @@
"dev-master": "2.3.x-dev",
"dev-develop": "2.4.x-dev",
"dev-release-3.0.0": "3.0.x-dev"
},
"zf": {
"config-provider": "Zend\\Expressive\\Router\\ConfigProvider"
}
},
"scripts": {
Expand Down
Loading

0 comments on commit f42ef39

Please sign in to comment.