Skip to content

sandimvlyadi/smdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SMDEV

PHP Version Require Latest Stable Version Monthly Downloads Total Downloads License

1. Installation

Use Composer, so you can install via CLI:

composer require sandimvlyadi/smdev

and run composer install on your terminal.

2. How to Use

2.1. SMDEV Webhooks

Add this line to your .env file:

SMDEV_WEBHOOK="[YOUR WEBHOOK URL]"

You can call this library:

use Sandimvlyadi\Smdev\Hook;

Send message to your webhook:

Hook::send('your message goes here');

2.1. RENOT (Real Time Error Notification)

Add this line to your .env file:

RENOT_URL="[YOUR RENOT SERVICE URL]"

You can call this library:

use Sandimvlyadi\Smdev\Renot;

Send message:

Renot::send('your message goes here');

or

Renot::send('your message goes here', 'XXXXXX,YYYYYY');

XXXXXX and YYYYYY are targets (bot's user PID)