{"id":35136270,"url":"https://github.com/php-middleware/log-exceptions","last_synced_at":"2026-05-18T20:03:07.513Z","repository":{"id":52452415,"uuid":"92524211","full_name":"php-middleware/log-exceptions","owner":"php-middleware","description":"Log all exceptions from your middlewares","archived":false,"fork":false,"pushed_at":"2021-04-28T21:54:59.000Z","size":6,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T13:23:02.611Z","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/php-middleware.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":"2017-05-26T15:29:47.000Z","updated_at":"2020-04-24T05:59:20.000Z","dependencies_parsed_at":"2022-08-23T23:30:25.074Z","dependency_job_id":null,"html_url":"https://github.com/php-middleware/log-exceptions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/php-middleware/log-exceptions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-middleware%2Flog-exceptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-middleware%2Flog-exceptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-middleware%2Flog-exceptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-middleware%2Flog-exceptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-middleware","download_url":"https://codeload.github.com/php-middleware/log-exceptions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-middleware%2Flog-exceptions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33189279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":"2025-12-28T09:08:50.647Z","updated_at":"2026-05-18T20:03:07.508Z","avatar_url":"https://github.com/php-middleware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log-exceptions [![Build Status](https://travis-ci.org/php-middleware/log-exceptions.svg?branch=master)](https://travis-ci.org/php-middleware/log-exceptions)\n\nLog all exceptions from your middlewares\n\nWhen your middleware throw exception this middleware catch it, log it and throw again. You will newer miss any exception.\n\n## Installation\n\n```\ncomposer require php-middleware/log-exceptions\n```\n\nTo build this middleware you need to injecting inside `LogExceptionMiddleware` instance of any `Psr\\Log\\LoggerInterface` implementation:\n\n```php\n$logger = new LoggerImplementation();\n$middleware = new PhpMiddleware\\LogException\\LogExceptionMiddleware($logger);\n```\n\nand add it into your middleware dispatcher. You can also setup level of log (default critical, second arg) and message (third arg).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-middleware%2Flog-exceptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-middleware%2Flog-exceptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-middleware%2Flog-exceptions/lists"}