ctl/laravelxmpp

Easy to use XMPP package for laravel

v1.0.0 2016-11-06 21:52 UTC

This package is not auto-updated.

Last update: 2024-04-23 21:33:50 UTC


README

Latest Stable Version Build Status Scrutinizer Code Quality Code Coverage Total Downloads Latest Unstable Version

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.