nitromoon/xmppbot

Xmpp bot client for Laravel PHP framework

1.0.0 2015-12-01 10:25 UTC

This package is not auto-updated.

Last update: 2024-11-23 19:42:54 UTC


README

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')