Hosmel Quintana
Introduction
Installation
Basic usage
Connecting
Reading Events
Handling Errors
Advanced usage
Timeouts
Reconnecting
PSR-7 Responses
View on GitHub

Installation

Install PHP SSE with Composer. It requires PHP 8.4 or later and works with Guzzle 7 and 8.

Requirements

PHP SSE requires PHP 8.4 or later. It sends requests with Guzzle and works with Guzzle 7 and 8.

Install the package

Install the package with Composer:

bash
composer require hosmelq/sse

Next steps

Connect to an endpoint, then read its events.

IntroductionConnecting