Skip to content

rocketeers-app/api-client

Repository files navigation

Rocketeers API Client

Latest Version on Packagist Total Downloads

A lightweight PHP client for the Rocketeers API. Report errors from any PHP application.

Requirements

  • PHP 7.0+

Installation

composer require rocketeers-app/rocketeers-api-client

Usage

use Rocketeers\Rocketeers;

$client = new Rocketeers('your-api-token');

$client->report([
    'message' => 'Something went wrong',
    'level' => 'error',
    'context' => ['user_id' => 42],
]);

Testing

composer test

Security

If you discover any security related issues, please email mark@vaneijk.co instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

API client for Rocketeers

Resources

License

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages