nitromoon / xmppbot
Xmpp bot client for Laravel PHP framework
1.0.0
2015-12-01 10:25 UTC
Requires
- php: >=5.3.3
- psr/log: ~1.0
Requires (Dev)
- behat/behat: ~2.5
- monolog/monolog: ~1.11
- phpunit/phpunit: ~4.3
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')