davmixcool/logsnag.php

An un-official API wrapper for logsnag.com

v0.0.1 2022-03-07 15:44 UTC

This package is auto-updated.

Last update: 2024-11-15 13:57:37 UTC


README

LogSnag

LogSnag

An un-offical API wrapper for logsnag.com to get notifications and track your project events.

Stable Discord Documentation

Requirements

  • PHP 5.5 and above

Steps

Installation

Composer

Run the following command to include this package via Composer

composer require davmixcool/logsnag.php

Usage

Import Library

use Davmixcool\LogSnag;

Initialize Client

$logsnag = new LogSnag('7f568d735724351757637b1dbf108e5');

Publish Event

$logsnag->publish([
    'project' => "my-saas",
    'channel' => "waitlist",
    'event' => "User Joined",
    'icon' => "🎉",
    'notify' => true
]);

Options

Maintainers

This package is maintained by David Oti and you!

License

This package is licensed under the MIT license.