{"id":39855824,"url":"https://github.com/dmt-software/http-exception-middleware","last_synced_at":"2026-01-18T13:50:52.425Z","repository":{"id":56933804,"uuid":"478498279","full_name":"dmt-software/http-exception-middleware","owner":"dmt-software","description":"psr-15 http exception middleware","archived":false,"fork":false,"pushed_at":"2024-08-30T07:53:06.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-05T01:18:36.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmt-software.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":"2022-04-06T09:49:50.000Z","updated_at":"2024-08-30T07:52:34.000Z","dependencies_parsed_at":"2023-01-24T01:31:26.621Z","dependency_job_id":null,"html_url":"https://github.com/dmt-software/http-exception-middleware","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dmt-software/http-exception-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fhttp-exception-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fhttp-exception-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fhttp-exception-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fhttp-exception-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmt-software","download_url":"https://codeload.github.com/dmt-software/http-exception-middleware/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmt-software%2Fhttp-exception-middleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28537081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-18T13:50:51.730Z","updated_at":"2026-01-18T13:50:52.409Z","avatar_url":"https://github.com/dmt-software.png","language":"PHP","readme":"# Http Exception Middleware\n\nPSR-15 middleware to transform http exceptions from _pavelsterba/http-exceptions_ to PSR-7 responses.\n\n## Installation\n\n```bash\ncomposer require dmt-software/http-exception-middleware\n```\n\n\n## Usage \n\n```php\nuse DMT\\Http\\Exception\\Middleware\\HttpExceptionMiddleware;\nuse Psr\\Http\\Message\\ResponseFactoryInterface;\nuse Psr\\Http\\Message\\ServerRequestInterface;\nuse Psr\\Http\\Server\\RequestHandlerInterface;\n\n/** @var ResponseFactoryInterface $httpExceptionMiddleware */\n$httpExceptionMiddleware = new HttpExceptionMiddleware($responseFactory);\n\n/** @var ServerRequestInterface $request */\n/** @var RequestHandlerInterface $handler */\n$httpExceptionMiddleware-\u003eprocess($request, $handler);\n\n// if handler throws a HttpException/Exception it will be turned into a psr-7 response \n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmt-software%2Fhttp-exception-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmt-software%2Fhttp-exception-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmt-software%2Fhttp-exception-middleware/lists"}