ctl / laravelxmpp
Easy to use XMPP package for laravel
v1.0.0
2016-11-06 21:52 UTC
Requires
- php: >=5.5.16
- tyrola/xmpphp: ^2.0
Requires (Dev)
- graham-campbell/testbench: ^3.0
- illuminate/support: ^5.2
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2024-11-20 00:16:23 UTC
README
A PHP Package that leverages XMPP/ejabberd and laravel to work coherently
Install
Via Composer
$ composer require ctl/laravelxmpp
Installation
Add the service provider to the 'providers'
array in config/app.php
CTL\XMPPMessageBase\IMServiceProvider::class,
If you want to use the Facade class, add the class to the 'aliases'
array
'IM' => CTL\XMPPMessageBase\IM::class,
Navigate to config/im.php
. Add host
,port
, user
, password
for your laravel app to connect to service.
Run ...
$ php artisan vendor:publish
To publich im.php configuration file
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
License
Eclipse Public License (EPL v1.0). Please see License for more information.