BU
BurdaPraha/oc_sentry
Implementation of Sentry to Opencart 2.3.x
Sentry for ๐ OpenCart 2.3.x
"Sentry is a cross-platform ๐ฅ crash reporting and aggregation platform".
For more information see official Sentry repository
Installation
- Requiring installed vQmod because vQmod doesn't support installing via composer itself.
- ๐ฒ
composer require sasedev/composer-plugin-filecopierfor files manipulating - ๐ฒ
composer require burdapraha/oc_sentry dev-master - Add this code to your ๐ต composer.json project file, extra section:
"extra": {
"filescopier": [
{
"source": "vendor/burdapraha/oc_sentry/upload",
"destination": "upload",
"debug": "true"
},
{
"source": "vendor/burdapraha/oc_version_number/upload",
"destination": "upload",
"debug": "true"
}
]
}
It will move vQmod xml file to correct folder.
- add ๐ constants to your
config.phpand/admin/config.php:
define('SENTRY_PHP', 'FILL_YOUR_ACCESS_PHP');define('SENTRY_JS', 'FILL_YOUR_ACCESS_JS');define('SENTRY_JS_LIB', ''); // here constant is optional, if you want use self-hosted raven-js library
- optionally you can add row to your
.gitignorefile with path to sentry.xml (example: upload/vqmod/xml/sentry.xml) - celebrate! ๐ ๐ ๐
On this page
Contributors
MIT License
Created June 21, 2017
Updated August 4, 2024
