PHPackages                             yarcode/yii2-daemon - 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. yarcode/yii2-daemon

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

yarcode/yii2-daemon
===================

Yii2 daemon based on ReactPHP

0.3.1(9y ago)46.1k2MITPHP

Since Jul 25Pushed 9y ago3 watchersCompare

[ Source](https://github.com/yarcode/yii2-daemon)[ Packagist](https://packagist.org/packages/yarcode/yii2-daemon)[ Docs](http://packagist.org/packages/yarcode/yii2-daemon)[ RSS](/packages/yarcode-yii2-daemon/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (2)Versions (6)Used By (2)

yarcode/yii2-daemon
===================

[](#yarcodeyii2-daemon)

Yii2 daemon based on ReactPHP

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yarcode/yii2-daemon

```

or add

```
"yarcode/yii2-daemon": "*"
```

Usage
-----

[](#usage)

Extend the `YarCode\Yii2\Daemon\DaemonCommand` class and add your own `prepare()` implementation.

```
