- PHP 5.5 and above
Composer
Run the following command to include this package via Composer
composer require davmixcool/logsnag.php
use Davmixcool\LogSnag;
$logsnag = new LogSnag('7f568d735724351757637b1dbf108e5');
$logsnag->publish([
'project' => "my-saas",
'channel' => "waitlist",
'event' => "User Joined",
'icon' => "🎉",
'notify' => true
]);
Option | Type | Description |
---|---|---|
project |
text required |
Project name. |
channel |
text required |
Channel Name. |
event |
text required |
Event name. |
description |
text optional |
Event description. |
icon |
text optional |
Single emoji as the event icon. |
notify |
boolean optional |
Send push notification. |
This package is maintained by David Oti and you!
This package is licensed under the MIT license.