Skip to content

Commit 733645e

Browse files
committed
Update readme about installation in zend expressive
1 parent a202395 commit 733645e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: README.md

+14
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ $app->run($request, $response);
2828

2929
You don't need to copy any static assets from phpdebugbar vendor!
3030

31+
### How to install on Zend Expressive?
32+
33+
Use [mtymek/expressive-config-manager](https://github.com/mtymek/expressive-config-manager) and add
34+
`PhpMiddleware\PhpDebugBar\ConfigProvider` class name:
35+
36+
```php
37+
$configManager = new \Zend\Expressive\ConfigManager\ConfigManager([
38+
\PhpMiddleware\PhpDebugBar\ConfigProvider::class,
39+
new \Zend\Expressive\ConfigManager\PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'),
40+
]);
41+
```
42+
43+
more [about config manager](https://zendframework.github.io/zend-expressive/cookbook/modular-layout/).
44+
3145
### How to install on Slim 3?
3246

3347
Add existing factory to container:

0 commit comments

Comments
 (0)