arnislielturks/faye-client
Faye Client Service provider for laravel
585
Larablocks Analysis
arnislielturks/faye-client works with any PHP project: the latest release (0.16, Apr 27, 2017) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Apr 27, 2017)
- 2 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Apr 27, 2017.
- No releases in the last 12 months.
- First released: Apr 24, 2017.
- Monthly downloads: 2.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.
| Install | |
|---|---|
composer require arnislielturks/faye-client |
|
| Latest Version: | 0.16 |
| PHP: | >=5.4 |
| License: | MIT |
| Last Updated: | Apr 27, 2017 |
| Links: | GitHub · Packagist |
Maintainer: ArnisLielturks
faye-client
This is a wrapper for awesome https://github.com/nchaulet/faye-client library. Intended for use in Laravel 5+ applications
Installation
- Install the package via composer:
composer require arnislielturks/faye-client
- Register the provider in config/app.php
// 'providers' => [
ArnisLielturks\FayeClient\FayeServiceProvider::class,
// ];
- Add configuration file (config/faye.php) with the following content. This should point to the Faye service
return [
'server' => 'http://127.0.0.1:8000',
'token' => 'your-token-here'
];
- Initialize and use the Faye client
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use ArnisLielturks\FayeClient\FayeServiceInterface;
class TestController extends Controller
{
protected $faye;
public function __construct(FayeServiceInterface $faye)
{
$this->faye = $faye;
}
public function sendFayeMessage()
{
$this->faye->send('/test', ['message'=>'test'], ['token' => '123']);
}
}
That's it!
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
670,032,257
9,703
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 0.16 | >=5.4 | MIT | |
| 0.15 | >=5.4 | MIT | |
| 0.14.1 | >=5.4 | MIT | |
| 0.14 | >=5.4 | MIT | |
| 0.13 | >=5.4 | MIT | |
| 0.12 | >=5.4 | MIT | |
| 0.11 | >=5.4 | MIT | |
| 0.1 | >=5.4 | MIT |