{"id":18305074,"url":"https://github.com/jop-software/typo3-sentry-client","last_synced_at":"2025-04-05T16:32:28.259Z","repository":{"id":40256971,"uuid":"407764242","full_name":"jop-software/typo3-sentry-client","owner":"jop-software","description":"Use Sentry to track down errors in your TYPO3 installation!","archived":false,"fork":false,"pushed_at":"2023-08-21T18:43:09.000Z","size":143,"stargazers_count":1,"open_issues_count":16,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-25T04:42:44.735Z","etag":null,"topics":["hacktoberfest","sentry","sentry-client","sentry-integration","typo3","typo3-cms","typo3-cms-extension","typo3-extension"],"latest_commit_sha":null,"homepage":"https://extensions.typo3.org/extension/typo3_sentry_client","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jop-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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-18T05:21:50.000Z","updated_at":"2022-10-03T08:30:10.000Z","dependencies_parsed_at":"2024-11-05T15:51:19.265Z","dependency_job_id":null,"html_url":"https://github.com/jop-software/typo3-sentry-client","commit_stats":{"total_commits":96,"total_committers":1,"mean_commits":96.0,"dds":0.0,"last_synced_commit":"5b7e48ca5d74a6c365d03a295cb83ceab5596459"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Ftypo3-sentry-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Ftypo3-sentry-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Ftypo3-sentry-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Ftypo3-sentry-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jop-software","download_url":"https://codeload.github.com/jop-software/typo3-sentry-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247366734,"owners_count":20927572,"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":["hacktoberfest","sentry","sentry-client","sentry-integration","typo3","typo3-cms","typo3-cms-extension","typo3-extension"],"created_at":"2024-11-05T15:32:36.332Z","updated_at":"2025-04-05T16:32:27.736Z","avatar_url":"https://github.com/jop-software.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TYPO3 Sentry Client\nThis TYPO3 extension allows you to send exceptions that occur in a TYPO3 installation to Sentry.\n\n---\n[![CI - Pipeline](https://github.com/jop-software/typo3-sentry-client/actions/workflows/ci.yaml/badge.svg)](https://github.com/jop-software/typo3-sentry-client/actions/workflows/ci.yaml)\n\n## Professional Support\n\nProfessional support is available, please contact [info@jop-software.de](mailto:info@jop-software.de) for more information.\n\n## Installation\nInstall this TYPO3 Extension via composer.\n```console\ncomposer require jop-software/typo3-sentry-client\n```\n**Attention:**\nInstallation for non-composer installations on TYPO3 is not supported currently, because we depend on some\ncomposer packages. See [Issue #4](https://github.com/jop-software/typo3_sentry_client/issues/4) for more information.\n\n## Configuration\n\nConfiguration is supported via TYPO3 Extension configuration and environment variables.\nSee `Settings` \u003e `Extension Configuration` \u003e `typo3_sentry_client` in the TYPO3 backend.\n\nYou can **overwrite** those settings with environment variables:\n```apacheconf\n###\u003e jop-software/typo3-sentry-client\nSetEnv SENTRY_ACTIVE true\nSetEnv SENTRY_DSN http://publicKey@your-sentry.tld/projectId\nSetEnv SENTRY_ENVIRONMENT Production\nSetEnv SENTRY_TRACES_SAMPLE_RATE 1.0\nSetEnv SENTRY_RELEASE 9.10.19\nSetEnv SENTRY_ERROR_LEVEL 32767 # See https://www.php.net/manual/en/errorfunc.constants.php\n###\u003c jop-software/typo3-sentry-client\n```\n\nAdd the `productionExceptionHandler` / `debugExceptionHandler` to your `LocalConfiguration.php` or `AdditionalConfiguration.php`file.\n```php\n$GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] = 'Jops\\TYPO3\\Sentry\\Handler\\ProductionExceptionHandler';\n$GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] = 'Jops\\TYPO3\\Sentry\\Handler\\DebugExceptionHandler';\n```\n### Multiple Environments\nIf you use the same `.htaccess` file for multiple environments like Production / Development, you can move the\n```apacheconf\nSetEnv SENTRY_ENVIRONMENT Production\n```\ninto the `ApplicationContext` section of the TYPO3 htaccess. e.G.:\n```apacheconf\n# Rules to set ApplicationContext based on hostname\nRewriteCond %{HTTP_HOST} ^dev\\.example\\.com$\nRewriteRule .? - [E=TYPO3_CONTEXT:Development,E=SENTRY_ENVIRONMENT:Development]\nRewriteCond %{HTTP_HOST} ^staging\\.example\\.com$\nRewriteRule .? - [E=TYPO3_CONTEXT:Production/Staging,E=SENTRY_ENVIRONMENT:Production-Staging]\nRewriteCond %{HTTP_HOST} ^www\\.example\\.com$\nRewriteRule .? - [E=TYPO3_CONTEXT:Production,E=SENTRY_ENVIRONMENT:Production]\n```\n## Local Development\nWe use [DDEV](https://ddev.readthedocs.io/en/stable/) for local development.\nWith the extension you get a complete TYPO3 DDEV setup. Type `ddev start` to start the container.\n\n## Headless\n\nIf you use [EXT:headless](https://github.com/TYPO3-Initiatives/headless), you can use the official [@nuxtjs/sentry](https://www.npmjs.com/package/@nuxtjs/sentry) module for the frontend.\nThere is great documentation available [here](https://sentry.nuxtjs.org/).\n\nThis extension itself can be used together with [EXT:headless](https://github.com/TYPO3-Initiatives/headless) without any known problems.\n\n## License\nThis project is licensed under [GPL-2.0-or-later](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html), see the [LICENSE](./LICENSE) file for more information.\n\n\u003cdiv align=\"center\"\u003e\n    \u003cp\u003e\u0026copy; 2022-2023, \u003ca href=\"mailto:info@jop-software.de\"\u003ejop-software Inh. Johannes Przymusinski\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjop-software%2Ftypo3-sentry-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjop-software%2Ftypo3-sentry-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjop-software%2Ftypo3-sentry-client/lists"}