kitchenu/ssel

PHP Server-Sent Events library

0.1.0 2018-04-11 17:17 UTC

This package is not auto-updated.

Last update: 2024-04-14 20:43:01 UTC


README

Build Status License

PHP Server-Sent Events library.

Installation

$ composer require kitchenu/ssel

Usage

<?php

require 'vendor/autoload.php';

$app = new Ssel\App();

$app->addTimerEvent('test', function () {
    return date('Y-m-d h:i:s');
});

$app->run();