{"id":23900847,"url":"https://github.com/born05/craft-sentry","last_synced_at":"2025-04-10T21:00:21.976Z","repository":{"id":36399241,"uuid":"224151028","full_name":"born05/craft-sentry","owner":"born05","description":"Pushes Craft CMS errors to Sentry.","archived":false,"fork":false,"pushed_at":"2024-06-13T12:45:03.000Z","size":66,"stargazers_count":10,"open_issues_count":7,"forks_count":10,"subscribers_count":6,"default_branch":"craft4","last_synced_at":"2025-03-24T18:46:11.438Z","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/born05.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-26T09:21:38.000Z","updated_at":"2024-10-25T15:35:31.000Z","dependencies_parsed_at":"2024-06-19T17:27:09.676Z","dependency_job_id":null,"html_url":"https://github.com/born05/craft-sentry","commit_stats":{"total_commits":43,"total_committers":7,"mean_commits":6.142857142857143,"dds":"0.18604651162790697","last_synced_commit":"e1d56e70868dd2b3a6ed0ad654673bf19af22f68"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fcraft-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fcraft-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fcraft-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fcraft-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/born05","download_url":"https://codeload.github.com/born05/craft-sentry/tar.gz/refs/heads/craft4","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298357,"owners_count":21080318,"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":[],"created_at":"2025-01-04T20:39:47.763Z","updated_at":"2025-04-10T21:00:21.714Z","avatar_url":"https://github.com/born05.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentry plugin for Craft CMS 4\n\nPushes Craft CMS errors to [Sentry](https://sentry.io/).\n\n## Installation\n\n### Plugin Store\n1. Search for 'Sentry SDK'.\n2. Hit install\n3. Create a config file as explained below.\n\n### Composer\n1. Run: `composer require born05/craft-sentry`\n2. Hit install in Admin \u003e Settings \u003e Plugins\n3. Create a config file as explained below.\n\n## Requirements\n- Craft 4.0.0 and up\n- PHP 8.0.2 and up\n\n## Configuring Sentry\nCreate a `config/sentry-sdk.php` config file with the following contents:\n\n```php\n\u003c?php\n\nreturn [\n    '*' =\u003e [\n        'enabled'        =\u003e true,\n        'anonymous'      =\u003e false, // Determines to log user info or not\n        'clientDsn'      =\u003e getenv('SENTRY_DSN') ?: 'https://example@sentry.io/123456789', // Set as string or use environment variable.\n        'clientKey'      =\u003e getenv('SENTRY_CLIENT_KEY') ?: 'z987654321a', // https://js.sentry-cdn.com/z987654321a.min.js\n        'excludedCodes'  =\u003e ['400', '404', '429'],\n        'release'        =\u003e getenv('SENTRY_RELEASE') ?: null, // Release number/name used by sentry.\n        'reportJsErrors' =\u003e false,\n        'sampleRate'     =\u003e 1.0,\n        'ignoreErrors'   =\u003e [\n          // Email link Microsoft Outlook crawler compatibility error\n          // cf. https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062\n          \"Non-Error promise rejection captured with value: Object Not Found Matching Id:\",\n        ]\n    ],\n];\n```\n\n## Credits\nBased upon the sentry plugin by [Luke Youell](https://github.com/lukeyouell).\n\n## License\n\nCopyright © [Born05](https://www.born05.com/)\n\nSee [license](https://github.com/born05/craft-sentry/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn05%2Fcraft-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborn05%2Fcraft-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn05%2Fcraft-sentry/lists"}