ubitcorp / debughost-php-client
Php client for DebugHost API
v0.5
2020-12-15 12:50 UTC
This package is not auto-updated.
Last update: 2024-11-13 08:24:29 UTC
README
PHP client for DebugHost API
composer require ubitcorp/debughost-php-client
example
<?php use Ubitcorp\DebugHost\Client; require __DIR__ . '/vendor/autoload.php'; $client = new Client("Your Api Key", "Your Api Secret"); $data = $client->storeLogs( 'Exam Completed', // Message 404, // Status Code '{"code": 0, "file": "Debughost/src/Application.php", "line": 1065}', // Detail 'examinee-api', // From 'Symfony\Component\HttpKernel\Exception\HttpException' // Class ); print_r($data);