PHPackages                             noisim/ss-event - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. noisim/ss-event

ActiveLibrary

noisim/ss-event
===============

This library provides Server Sent Event for Laravel.

011.4kPHP

Since Oct 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/albanafmeti/ss-event)[ Packagist](https://packagist.org/packages/noisim/ss-event)[ RSS](/packages/noisim-ss-event/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

This library provides Server Sent Event for Laravel. Tested on Laravel 5.5.

How to use
----------

[](#how-to-use)

This package is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "noisim/ss-event": "dev-master"
    }
}
```

and run composer to update the dependencies `composer update`.

Then open your Laravel config file config/app.php and in the `$providers` array add the service provider for this package.

```
\Noisim\SSEvent\SSEventServiceProvider::class
```

Finally generate the configuration file running in the console:

```
php artisan vendor:publish --tag=config

```

Laravel Controller:

```
