PHPackages                             simbiat/sse - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. simbiat/sse

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

simbiat/sse
===========

Cron utilizing a database to store tasks.

1.1.1+20250417(1y ago)021AGPL-3.0-or-laterPHPPHP ^8.4

Since Nov 29Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Simbiat/sse)[ Packagist](https://packagist.org/packages/simbiat/sse)[ Docs](https://github.com/Simbiat/sse)[ RSS](/packages/simbiat-sse/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)DependenciesVersions (4)Used By (1)

Simple implementation of [Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events) in PHP.
Open stream with `\Simbiat\http\SSE:open()`. Optionally pass `true` to it, if you want to use a counter for event IDs (that is ID 1, ID 2, so on).
Close stream with `\Simbiat\http\SSE:close()`. Optionally pass `true` if you want to not only close the stream, but exit the script entirely.
To send a message to stream use `\Simbiat\http\SSE:send($message, $event, $retry, $id)`, where `$message` is a `string` containing the message of the event, `$event` is an optional `string` with event name, `$retry` is an optional `int` of milliseconds, used for a retry timer, in case of disconnect, and `$id` is an optional event ID. If `$id` is null or contains only whitespace, either a counter will be used (if `true` was passed to `open()`) or server's high resolution time.
Note that all new line symbols will be removed from the message, event and ID, and they also will be trimmed.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance66

Regular maintenance activity

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~69 days

Total

3

Last Release

388d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa2d3e2e878f1cf76c71b73e6a9234203aa627a7afeada368993830d92ee1dde?d=identicon)[Simbiat](/maintainers/Simbiat)

---

Top Contributors

[![Simbiat](https://avatars.githubusercontent.com/u/6022665?v=4)](https://github.com/Simbiat "Simbiat (1 commits)")

---

Tags

eventsserversseside

### Embed Badge

![Health badge](/badges/simbiat-sse/health.svg)

```
[![Health](https://phpackages.com/badges/simbiat-sse/health.svg)](https://phpackages.com/packages/simbiat-sse)
```

###  Alternatives

[spatie/laravel-webhook-server

Send webhooks in Laravel apps

1.1k8.8M22](/packages/spatie-laravel-webhook-server)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[clue/socket-raw

Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets).

35111.1M48](/packages/clue-socket-raw)[voryx/thruway

Thruway WAMP router core

6771.0M17](/packages/voryx-thruway)[php-mcp/server

PHP SDK for building Model Context Protocol (MCP) servers - Create MCP tools, resources, and prompts

828280.5k25](/packages/php-mcp-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
