Use Composer, so you can install via CLI:
composer require sandimvlyadi/smdev
and run composer install
on your terminal.
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');
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)