suprvise/suprvise-php

v1.0.1 2020-12-14 21:52 UTC

This package is auto-updated.

Last update: 2024-04-15 05:18:14 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Official Suprvise PHP SDK.

Installation

You can install the package via composer:

composer require suprvise/suprvise-php

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

use Suprvise\Suprvise;
use Suprvise\Logger;

Suprvise::key('suprvise-key-xxx');
Suprvise::origin('https://example.com'); // Must be a website monitored by Suprvise within your team

Logger::listen();

throw new Exception('Whoops!'); // Captured by Suprvise - Check your dashboard https://suprvise.com/logging

Testing

composer test

Security

If you discover any security related issues, please email support@suprvise.com instead of using the issue tracker.

Credits

License

MIT