{"id":26527870,"url":"https://github.com/geo6/zend-expressive-sentry","last_synced_at":"2026-05-08T08:12:07.964Z","repository":{"id":62509936,"uuid":"203204200","full_name":"geo6/zend-expressive-sentry","owner":"geo6","description":"Zend Expressive ErrorHandler able to send error to Sentry.io","archived":false,"fork":false,"pushed_at":"2019-08-20T14:59:48.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-21T15:25:38.187Z","etag":null,"topics":["error-handler","php","sentry","sentry-php","zend-expressive"],"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/geo6.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":"2019-08-19T15:54:56.000Z","updated_at":"2019-09-04T21:41:04.000Z","dependencies_parsed_at":"2022-11-02T10:16:42.132Z","dependency_job_id":null,"html_url":"https://github.com/geo6/zend-expressive-sentry","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/geo6/zend-expressive-sentry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Fzend-expressive-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Fzend-expressive-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Fzend-expressive-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Fzend-expressive-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geo6","download_url":"https://codeload.github.com/geo6/zend-expressive-sentry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geo6%2Fzend-expressive-sentry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32772168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: 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":["error-handler","php","sentry","sentry-php","zend-expressive"],"created_at":"2025-03-21T15:23:42.636Z","updated_at":"2026-05-08T08:12:07.941Z","avatar_url":"https://github.com/geo6.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zend Expressive Sentry ErrorHandler\n\n[![Latest Stable Version](https://poser.pugx.org/geo6/zend-expressive-sentry/v/stable)](https://packagist.org/packages/geo6/zend-expressive-sentry)\n[![Total Downloads](https://poser.pugx.org/geo6/zend-expressive-sentry/downloads)](https://packagist.org/packages/geo6/zend-expressive-sentry)\n[![Monthly Downloads](https://poser.pugx.org/geo6/zend-expressive-sentry/d/monthly.png)](https://packagist.org/packages/geo6/zend-expressive-sentry)\n[![Software License](https://img.shields.io/badge/license-GPL--3.0-brightgreen.svg)](LICENSE)\n\nThis library enables Zend Expressive to send errors and exceptions to [Sentry.io](https://sentry.io/).\n\n## Install\n\n```\ncomposer require geo6/zend-expressive-sentry\n```\n\n## Configuration\n\nCreate a `sentry.global.php` file in your `config` directory with your correct DSN (and options, if necessary):\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nreturn [\n    'sentry' =\u003e [\n        'dsn' =\u003e 'https://xxxxx@sentry.io/12345',\n    ],\n];\n```\n\n## Usage\n\nTo enable it, you just have to add `Geo6\\Expressive\\Sentry\\ConfigProvider::class` to your main configuration (usually `config/config.php`):\n\n```diff\n...\n\n$aggregator = new ConfigAggregator([\n+     Geo6\\Expressive\\Sentry\\ConfigProvider::class,\n...\n], $cacheConfig['config_cache_path']);\n\n...\n```\n\nThe Sentry ErrorHandler will be active only in \"production mode\" (when `$config['debug]` is `false`).  \nTo switch to \"production mode\", you can use `composer run development-disable`.\n\n---\n\nThis library was inspired by [`stickeeuk/zend-expressive-sentry`](https://github.com/stickeeuk/zend-expressive-sentry).  \nThe main difference is that this library uses the last version of the [PHP SDK](https://docs.sentry.io/clients/php/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeo6%2Fzend-expressive-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeo6%2Fzend-expressive-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeo6%2Fzend-expressive-sentry/lists"}