{"id":21714099,"url":"https://github.com/rstgroup/diagnostics-middleware","last_synced_at":"2025-04-12T19:09:01.582Z","repository":{"id":62537838,"uuid":"53961544","full_name":"rstgroup/diagnostics-middleware","owner":"rstgroup","description":"ZendDiagnostics PSR-7 middleware","archived":false,"fork":false,"pushed_at":"2017-12-28T09:25:31.000Z","size":32,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T19:08:55.264Z","etag":null,"topics":["php","psr-7","zend-framework"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rstgroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-15T16:41:47.000Z","updated_at":"2018-09-26T09:22:25.000Z","dependencies_parsed_at":"2022-11-02T16:15:43.825Z","dependency_job_id":null,"html_url":"https://github.com/rstgroup/diagnostics-middleware","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fdiagnostics-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fdiagnostics-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fdiagnostics-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstgroup%2Fdiagnostics-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstgroup","download_url":"https://codeload.github.com/rstgroup/diagnostics-middleware/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618277,"owners_count":21134200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","psr-7","zend-framework"],"created_at":"2024-11-26T00:31:19.903Z","updated_at":"2025-04-12T19:09:01.528Z","avatar_url":"https://github.com/rstgroup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# diagnostics-middleware [![Build Status](https://travis-ci.org/rstgroup/diagnostics-middleware.svg?branch=master)](https://travis-ci.org/rstgroup/diagnostics-middleware)\n\nZendDiagnostics PSR-7 middleware\n\n## Usage\n\nCreate your middleware and add it to middleware stack:\n\n```php\n$runner = new ZendDiagnostics\\Runner\\Runner();\n// add checks to your diagnostics runner\n\n// Create response output factory\n$factory = new RstGroup\\DiagnosticsMiddleware\\ResultResponseFactory\\JsonResultResponseFactory();\n\n// Create middleware\n$middleware = new RstGroup\\DiagnosticsMiddleware\\DiagnosticsMiddleware();\n\n// add to your middeware runner\n$app = new MiddlewareRunner();\n$app-\u003eadd($middleware);\n$app-\u003erun();\n```\n\nWe provide factories (using [`container-interop`](https://github.com/container-interop/container-interop)) and config\nprovider, so implementation should be easy with[`zend-expressive`](https://github.com/zendframework/zend-expressive)\nor other PSR-7 middleware framework.\n\n## Installation\n\nAdd project name (`rstgroup/diagnostics-middleware`) to composer.json.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstgroup%2Fdiagnostics-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstgroup%2Fdiagnostics-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstgroup%2Fdiagnostics-middleware/lists"}