Skip to content

Core-Tech-Labs/LaravelXMPP

Repository files navigation

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.