PHPackages                             tasque/event-loop - 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. tasque/event-loop

ActiveProject

tasque/event-loop
=================

v0.1.5(1y ago)06.5k↓50%5MITPHPPHP &gt;=8.1

Since Nov 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nytris/tasque-event-loop)[ Packagist](https://packagist.org/packages/tasque/event-loop)[ RSS](/packages/tasque-event-loop/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (7)Used By (5)

Tasque EventLoop
================

[](#tasque-eventloop)

[![Build Status](https://github.com/nytris/tasque-event-loop/workflows/CI/badge.svg)](https://github.com/nytris/tasque-event-loop/actions?query=workflow%3ACI)

Run a [ReactPHP](https://reactphp.org/) [event loop](https://github.com/reactphp/event-loop) within a conventional PHP application using [Tasque](https://github.com/nytris/tasque).

Why?
----

[](#why)

To allow periodic background tasks, such as sending keep-alive or heartbeat messages, to be performed in a traditional PHP environment where there would otherwise be no event loop.

Usage
-----

[](#usage)

Install this package with Composer:

```
$ composer install tasque/event-loop
```

Configure Nytris platform:

`nytris.config.php`

```
