PHPackages                             brownpaperbag/flush - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. brownpaperbag/flush

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

brownpaperbag/flush
===================

Library to flush data friendly. To use in long-polling and zombie requests.

1.0.0(11y ago)184MITPHPPHP &gt;=5.3.0

Since Oct 30Pushed 10y ago9 watchersCompare

[ Source](https://github.com/BrownPaperBag/flush)[ Packagist](https://packagist.org/packages/brownpaperbag/flush)[ RSS](/packages/brownpaperbag-flush/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Presentation
============

[](#presentation)

Library to flush data friendly. To use in long-polling and zombie requests. Distributed as a [composer](http://getcomposer.org/) package.

Instalation
-----------

[](#instalation)

```
composer require brownpaperbag/flush
```

Usage
-----

[](#usage)

This library was built to work in three scenarios basically:

- Long-polling requests;
- Long polling requests with socket style;
- Zombie requests;

### Usage in long-polling requests

[](#usage-in-long-polling-requests)

```
