Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burdapraha/oc_sentry
Implementation of Sentry to Opencart 2.3.x
https://github.com/burdapraha/oc_sentry
crash-reporting czech-republic ecommerce logger opencart opencart-2x sentry sentry-plugin vqmod
Last synced: 21 days ago
JSON representation
Implementation of Sentry to Opencart 2.3.x
- Host: GitHub
- URL: https://github.com/burdapraha/oc_sentry
- Owner: BurdaPraha
- License: mit
- Created: 2017-06-21T08:45:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T12:35:24.000Z (over 7 years ago)
- Last Synced: 2024-04-20T14:34:26.248Z (8 months ago)
- Topics: crash-reporting, czech-republic, ecommerce, logger, opencart, opencart-2x, sentry, sentry-plugin, vqmod
- Homepage: http://www.burda.cz
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![logo](./doc/logo.png)
# Sentry for 🛒 [OpenCart 2.3.x](https://github.com/opencart/opencart)
> "Sentry is a cross-platform 💥 crash reporting and aggregation platform".
For more information see official [Sentry repository](https://github.com/getsentry/sentry-php)## Installation
1. Requiring installed [vQmod](https://github.com/vqmod/vqmod) because vQmod doesn't support installing via composer itself.
2. 💲 `composer require sasedev/composer-plugin-filecopier` for files manipulating
3. 💲 `composer require burdapraha/oc_sentry dev-master`
4. 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.5. 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`6. optionally you can add row to your `.gitignore` file with path to sentry.xml (example: upload/vqmod/xml/sentry.xml)
7. celebrate! 🎉 🎉 🎉