linkthrow/laravel-faye

Laravel FAYE wrapper for official PHP FAYE API

dev-master / 1.0.x-dev 2016-04-26 11:07 UTC

This package is not auto-updated.

Last update: 2019-12-05 20:35:19 UTC


README

Latest Version on Packagist Software License Build Status Quality Score Total Downloads

Laravel FAYE is a Laravel wrapper for the official PHP FAYE API

This package is intended to used with Laravel. Tested and working with laravel 5.1.

This code is based on Faye-client. A major part of it is taken from there and I added the things that I thought it required.

Install

Via Composer

$ composer require LinkThrow/laravel-faye

###Laravel Add LinkThrow\Faye\FayeServiceProvider::class to your providers array.

If you wish to use the Facade then add 'Faye' => LinkThrow\Faye\Facades\Faye::class

The package will automatically use the config file containing the list of banned words.

Usage

Faye::send("/channel1", array("name" => "foo"), array("token" => "456454sdqd"));

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ phpspec run

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email LinkThrow.shakya@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.