ubitcorp / debughost-php-client
DebugHost API 的 PHP 客户端
v0.5
2020-12-15 12:50 UTC
This package is not auto-updated.
Last update: 2024-10-02 07:38:10 UTC
README
PHP 客户端用于 DebugHost API
composer require ubitcorp/debughost-php-client
示例
<?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);