diff --git a/CHANGELOG.md b/CHANGELOG.md index 760d441..fee72c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 0.2.0 - 2016-11-27 + +### Changed + +* Updated to `http-interop/http-middleware#0.3` + ## 0.1.0 - 2016-10-09 First version diff --git a/README.md b/README.md index 157b74a..f163789 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # middlewares/fast-route [![Latest Version on Packagist][ico-version]][link-packagist] -[![Software License][ico-license]](LICENSE.md) +[![Software License][ico-license]](LICENSE) [![Build Status][ico-travis]][link-travis] [![Quality Score][ico-scrutinizer]][link-scrutinizer] [![Total Downloads][ico-downloads]][link-downloads] @@ -9,13 +9,11 @@ Middleware to use [FastRoute](https://github.com/nikic/FastRoute). -**Note:** This middleware is intended for server side only - ## Requirements * PHP >= 5.6 * A [PSR-7](https://packagist.org/providers/psr/http-message-implementation) http mesage implementation ([Diactoros](https://github.com/zendframework/zend-diactoros), [Guzzle](https://github.com/guzzle/psr7), [Slim](https://github.com/slimphp/Slim), etc...) -* A [PSR-15](https://github.com/http-interop/http-middleware) middleware dispatcher ([Middleman](https://github.com/mindplay-dk/middleman), etc...) +* A [PSR-15 middleware dispatcher](https://github.com/middlewares/awesome-psr15-middlewares#dispatcher) ## Installation diff --git a/composer.json b/composer.json index a37966d..482d4c8 100644 --- a/composer.json +++ b/composer.json @@ -19,16 +19,15 @@ }, "require": { "php": "^5.6 || ^7.0", - "http-interop/http-middleware": "^0.2", + "http-interop/http-middleware": "^0.3", "nikic/fast-route": "^1.0", - "middlewares/utils": "~0.3" + "middlewares/utils": "~0.5" }, "require-dev": { "phpunit/phpunit": "^5.5", "zendframework/zend-diactoros": "^1.3", "friendsofphp/php-cs-fixer": "^1.12", - "squizlabs/php_codesniffer": "^2.7", - "mindplay/middleman": "^2.0" + "squizlabs/php_codesniffer": "^2.7" }, "autoload": { "psr-4": { diff --git a/tests/FastRouteTest.php b/tests/FastRouteTest.php index c122752..bcc912f 100644 --- a/tests/FastRouteTest.php +++ b/tests/FastRouteTest.php @@ -3,8 +3,8 @@ namespace Middlewares\Tests; use Middlewares\FastRoute; +use Middlewares\Utils\Dispatcher; use Zend\Diactoros\ServerRequest; -use mindplay\middleman\Dispatcher; class FastRouteTest extends \PHPUnit_Framework_TestCase {