php-bug-catcher/bug-catcher-curl-reporter

Library to report exceptions to Bug Catcher

v1.0.0 2024-08-18 19:22 UTC

This package is auto-updated.

Last update: 2024-12-18 20:00:10 UTC


README

Setup

composer require php-bug-catcher/bug-catcher-curl-reporter

Try it

$curlReporter = new \BugCatcher\Reporter\CurlReporter(
    "https://YourBugTrackerInstance.com:8000",
    'projectName',
    true
);
try {
    throw new Exception("Test exception");
} catch (Exception $e) {
    $curlReporter->reportException($e);
}