linkthrow / laravel-faye
Laravel FAYE wrapper for official PHP FAYE API
Requires
- php: >=5.3.0
- nc/faye-client: ~1.0
Requires (Dev)
- phpspec/phpspec: ~2.1
- scrutinizer/ocular: ~1.1
This package is not auto-updated.
Last update: 2024-11-15 19:50:30 UTC
README
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.