library whmcs-sentry-integrations
Provides the simplest way to integrate your WHMCS project with Sentry
senikz/whmcs-sentry-integrations
Provides the simplest way to integrate your WHMCS project with Sentry
- Friday, July 21, 2017
- by senikz
- Repository
- 1 Watchers
- 1 Stars
- 201 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 5 Versions
- 6 % Grown
Installation
Since the WHMCS is developed using a composer but without its configuration json file,
there is no availability to use vendor
folder for composer. Therefore we will add custom
folder
inside the vendor
and use it for our composer by adding vendor-dir
option., (*1)
Step-by-step actions to run composer over WHMCS in subfolder:
1. Install Composer
2. Run cumposer init
to create composer.json file
3. Add "vendor-dir": "vendor/custom"
into composer.json
4. Create folder /vendor/custom
5. Add the line below into the 5th line of /vendor/autoload.php
, (*2)
require __DIR__ . '/custom/autoload.php';
After that it becomes possible to install Sentry Integration. To do this run the next command:, (*3)
composer require senikz/whmcs-sentry-integrations
Configuration
- Turn On 'exceptions interceptor'. To do this modify the
use
block of the file /vendor/filp/whoops/src/Whoops/Exception/ErrorException.php
by changing use ErrorException
to use \WhmcsSI\Exception\ErrorException
.
- Put the lines below into
/configuration.php
file:
$sentry_enable = true;
$sentry_project_link = '<link_to_your_project>';
- Optionally you can also put the next lines too:
$project_environment = '';
$project_version = '';
dev-master
9999999-dev
Provides the simplest way to integrate your WHMCS project with Sentry
Sources
Download
MIT
The Requires
by
Sergey Zolotukhin
0.1
0.1.0.0
Provides the simplest way to integrate your WHMCS project with Sentry
Sources
Download
MIT
The Requires
by
Sergey Zolotukhin
0.0.4
0.0.4.0
Provides the simplest way to integrate your WHMCS project with Sentry
Sources
Download
MIT
by
Sergey Zolotukhin
0.0.3
0.0.3.0
Provides the simplest way to integrate your WHMCS project with Sentry
Sources
Download
MIT
by
Sergey Zolotukhin
0.0.2
0.0.2.0
Provides the simplest way to integrate your WHMCS project with Sentry
Sources
Download
by
Sergey Zolotukhin