Xmppbot for laravel framework
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src
.gitignore
README.md
composer.json

README.md

xmppbot

Installation:
composer require nitromoon/xmppbot:"1.0.0"

config/app.php :
Add provider
\Xmppbot\XMPPBotServiceProvider::class

Add Facade
'XmppBot' => \Xmppbot\Facades\XmppBot::class

Extract config:
php artisan vendor:publish Fill in config/xmppbot.php host, sender-alias and user credentials

Usage:
XmppBot::sendMesssage('test bot message', 'a.ivenkov@advmt.org')