New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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 advised

Not 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

  1. Install the package via composer:
composer require arnislielturks/faye-client
  1. Register the provider in config/app.php
// 'providers' => [
   ArnisLielturks\FayeClient\FayeServiceProvider::class,
// ];
  1. 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'
];
  1. 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

farhatabbas/laravel-faye

Laravel package to easily interact with Faye server.

9 0
linkthrow/laravel-faye

Laravel FAYE wrapper for official PHP FAYE API

91 0
arnislielturks/faye-laravel-broadcaster

Faye service laravel broadcaster

225 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338

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