burdapraha / oc_sentry
Implementation Sentry for Opencart 2.3.x
Installs: 984
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 5
Open Issues: 0
Type:vqmod-plugin
Requires
- php: >=5.6.0
- burdapraha/oc_version_number: ^1.0
- sasedev/composer-plugin-filecopier: ^1.1
- sentry/sentry: ^1.7
This package is not auto-updated.
Last update: 2025-01-05 21:29:12 UTC
README
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-filecopier
for 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.php
and/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
.gitignore
file with path to sentry.xml (example: upload/vqmod/xml/sentry.xml) - celebrate! 🎉 🎉 🎉