PHPackages                             php-pmd/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. [CLI &amp; Console](/categories/cli)
4. /
5. php-pmd/daemon

ActiveLibrary[CLI &amp; Console](/categories/cli)

php-pmd/daemon
==============

PHP CLI daemon(clio/clio)

0.0.2(5y ago)014MITPHPPHP &gt;=5.6

Since Jan 8Pushed 3y agoCompare

[ Source](https://github.com/php-pmd/daemon)[ Packagist](https://packagist.org/packages/php-pmd/daemon)[ RSS](/packages/php-pmd-daemon/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Daemon
======

[](#daemon)

Daemon based on [Clio](https://github.com/nramenta/clio).

The Daemon class provides helpers for starting and killing daemonized processes.

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

[](#installation)

```
composer require php-pmd/daemon

```

PHP 5.4 is required. This library is developed on and is meant to be used on POSIX systems with the posix, pcntl, and sockets extensions loaded.

### Daemon::isRunning($pid)

[](#daemonisrunningpid)

Tests if a daemon is currently running or not. Returns true or false:

```
