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

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

pamkil/yii2-daemon
==================

Extension provides functionality for simple daemons creation and control

v1.0.2(8y ago)0808BSD-3-ClausePHP

Since Mar 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pamkil/yii2-daemon)[ Packagist](https://packagist.org/packages/pamkil/yii2-daemon)[ RSS](/packages/pamkil-yii2-daemon/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Daemons system for Yii2
=======================

[](#daemons-system-for-yii2)

Extension provides functionality for simple daemons creation and control

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist pamkil/yii2-daemon "*"

```

or add

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

```

to the require section of your `composer.json` file.

### Setting WatcherDaemon

[](#setting-watcherdaemon)

WatcherDaemon is the main daemon and provides from box. This daemon check another daemons and run, if it need. Do the following steps:

1. Create in you console controllers path file WatcherDaemonController.php with following content:

```
