You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ You don't need to copy any static assets from phpdebugbar vendor!
31
31
32
32
Sometimes you want to have control when enable or disable PHP Debug Bar:
33
33
* custom content negotiation,
34
-
* allow to debug redirects responses.
34
+
* allow debug redirects responses.
35
35
36
36
We allow you to disable attaching phpdebugbar using `X-Enable-Debug-Bar: false` header, cookie or request attribute.
37
37
To force enable just send request with `X-Enable-Debug-Bar` header, cookie or request attribute with `true` value.
@@ -42,22 +42,22 @@ This package isn't require any PSR-7 implementation - you need to provide it by
42
42
43
43
#### ... and PSR-11
44
44
45
-
If you use provided PSR-11 factories, then you container must have services registered as PSR-17 interface's name. Example for [zend-diactoros](https://github.com/zendframework/zend-diactoros) implementation and [Pimple](https://pimple.symfony.com/):
45
+
If you use provided PSR-11 factories, then your container must have services registered as PSR-17 interface's name. Example for [laminas-diactoros](https://github.com/laminas/laminas-diactoros) implementation and [Pimple](https://pimple.symfony.com/):
46
46
47
47
```php
48
-
$container[Psr\Http\Message\ResponseInterface::class] = new Zend\Diactoros\ResponseFactory();
49
-
$container[Psr\Http\Message\StreamFactoryInterface] = new Zend\Diactoros\StreamFactory();
48
+
$container[Psr\Http\Message\ResponseInterface::class] = new Laminas\Diactoros\ResponseFactory();
49
+
$container[Psr\Http\Message\StreamFactoryInterface::class] = new Laminas\Diactoros\StreamFactory();
50
50
```
51
51
52
-
### How to install on Zend Expressive?
52
+
### How to install on Mezzio?
53
53
54
54
You need to register `PhpMiddleware\PhpDebugBar\ConfigProvider` and pipe provided middleware:
0 commit comments