Skip to content

Commit 4883713

Browse files
committed
Fixes
1 parent 393ef44 commit 4883713

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Diff for: .travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ env:
1010

1111
before_script:
1212
- phpenv config-rm xdebug.ini
13-
- composer self-update
1413
- if [[ $DEPS == 'lowest' ]]; then composer update --prefer-stable --no-interaction --prefer-lowest ; fi
1514
- if [[ $DEPS == 'latest' ]]; then composer update --prefer-stable --no-interaction ; fi
1615

Diff for: README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# phpdebugbar middleware [![Build Status](https://travis-ci.org/php-middleware/phpdebugbar.svg?branch=master)](https://travis-ci.org/php-middleware/phpdebugbar)
2-
PHP Debug bar [PSR-15](https://www.php-fig.org/psr/psr-15/) middleware with [PSR-7](https://www.php-fig.org/psr/psr-7/). Also supports [PSR-11]([PSR-7](https://www.php-fig.org/psr/psr-11/))
2+
PHP Debug bar [PSR-15](https://www.php-fig.org/psr/psr-15/) middleware with [PSR-7](https://www.php-fig.org/psr/psr-7/). Also supports [PSR-11](https://www.php-fig.org/psr/psr-11/)
33

44
This middleware provide framework-agnostic possibility to attach [PHP Debug Bar](http://phpdebugbar.com/) to your response (html on non-html!).
55

@@ -30,7 +30,13 @@ You don't need to copy any static assets from phpdebugbar vendor!
3030

3131
### How to install on Zend Expressive?
3232

33-
[Follow Zend Expressive documentation](https://docs.zendframework.com/zend-expressive/v3/features/modular-applications/).
33+
You need to register ConfigProvider and pipe provided middleware:
34+
35+
```php
36+
$app->pipe(PhpDebugBarMiddleware::class);
37+
```
38+
39+
For more follow Zend Expressive [documentation](https://docs.zendframework.com/zend-expressive/v3/features/modular-applications/).
3440

3541
### How to install on Slim 3?
3642

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"slim/slim": "^3.0",
2626
"zendframework/zend-expressive": "^3.0",
2727
"zendframework/zend-expressive-fastroute": "^3.0.1",
28-
"zendframework/zend-servicemanager": "^3.3"
28+
"zendframework/zend-servicemanager": "^3.3.2"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)