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

Commit e4835e5

Browse files
author
Witold Wasiczko
committed
Add middleware to readme
1 parent 7f48aa0 commit e4835e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ File validation checks:
5151
2. Enable diagnostic tests in [your application configuration](https://github.com/liip/LiipMonitorBundle/blob/master/README.md).
5252
3. In your console type `./app/console monitor:health` to run diagnostics.
5353

54+
## Using diagnostics with PSR-7 middleware
55+
56+
Install the [rstgroup/diagnostics-middleware](https://github.com/rstgroup/diagnostics-middleware).
57+
5458
## Using diagnostics in plain PHP
5559

5660
1. Add ZendDiagnostics component to your application
@@ -593,7 +597,7 @@ use Doctrine\DBAL\Migrations\Configuration\Configuration;
593597
use Doctrine\ORM\EntityManager;
594598
use ZendDiagnostics\Check\DoctrineMigration;
595599

596-
$em = EntityManager::create(/** config */);
600+
$em = EntityManager::create(/** config */);
597601
$migrationConfig = new Configuration($em);
598602
$check = new DoctrineMigration($migrationConfig);
599603
````

0 commit comments

Comments
 (0)