PHPackages                             barracudanetworks/forkdaemon-php - 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. barracudanetworks/forkdaemon-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

barracudanetworks/forkdaemon-php
================================

A library to make setup and management of forking daemons in PHP easy.

v2.0.1(4y ago)3863.8k↑12.5%13[1 issues](https://github.com/barracudanetworks/forkdaemon-php/issues)[1 PRs](https://github.com/barracudanetworks/forkdaemon-php/pulls)2MITPHPPHP &gt;=5.3.0

Since Jun 7Pushed 4y ago9 watchersCompare

[ Source](https://github.com/barracudanetworks/forkdaemon-php)[ Packagist](https://packagist.org/packages/barracudanetworks/forkdaemon-php)[ Docs](https://github.com/barracudanetworks/forkdaemon-php)[ RSS](/packages/barracudanetworks-forkdaemon-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (19)Used By (2)

PHP Fork Daemon
===============

[](#php-fork-daemon)

A library to make setup and management of forking daemons in PHP easy.

Features
--------

[](#features)

- Easy management of PHP forks
- Return result of children by callback or polling parent for results
- Splitting work units into buckets
- Preforking callbacks to manage resources before forking
- Dynamic setting of number of children / work per child

Usage
-----

[](#usage)

Check out the examples in the examples directory `php example/blocking.php`

Caveats
-------

[](#caveats)

- You need to specify `declare(ticks=1);` before inclusion of the fork-daemon library, otherwise signals wont be handled. This *must* be done in the main PHP file, as `declare(ticks=N);` only works for the file in which it is declared and the files which that file includes. Reference: [PHP Documentation](http://php.net/manual/en/control-structures.declare.php#control-structures.declare.ticks)

License
-------

[](#license)

Copyright 2013 Barracuda Networks, Inc. Licensed under the MIT License

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~193 days

Recently: every ~419 days

Total

15

Last Release

1659d ago

Major Versions

v1.1.1 → v2.0.02019-05-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/68572f07c1c45f2e0b5072c199860bc6020ed337589d0a0969bb6251c3526c25?d=identicon)[barracuda](/maintainers/barracuda)

---

Top Contributors

[![ablyler](https://avatars.githubusercontent.com/u/137642?v=4)](https://github.com/ablyler "ablyler (24 commits)")[![Meowvalent](https://avatars.githubusercontent.com/u/1269015?v=4)](https://github.com/Meowvalent "Meowvalent (7 commits)")[![mrrsm](https://avatars.githubusercontent.com/u/1251354?v=4)](https://github.com/mrrsm "mrrsm (6 commits)")[![solonrice](https://avatars.githubusercontent.com/u/565674?v=4)](https://github.com/solonrice "solonrice (5 commits)")[![pmccarren](https://avatars.githubusercontent.com/u/4959702?v=4)](https://github.com/pmccarren "pmccarren (4 commits)")[![johnmaguire](https://avatars.githubusercontent.com/u/440033?v=4)](https://github.com/johnmaguire "johnmaguire (3 commits)")[![bn-eolson](https://avatars.githubusercontent.com/u/141344972?v=4)](https://github.com/bn-eolson "bn-eolson (3 commits)")[![zacherystuart](https://avatars.githubusercontent.com/u/2761762?v=4)](https://github.com/zacherystuart "zacherystuart (2 commits)")[![jkup](https://avatars.githubusercontent.com/u/490294?v=4)](https://github.com/jkup "jkup (2 commits)")[![oliverseamanbarracuda](https://avatars.githubusercontent.com/u/26625554?v=4)](https://github.com/oliverseamanbarracuda "oliverseamanbarracuda (2 commits)")[![ronytomen](https://avatars.githubusercontent.com/u/5140624?v=4)](https://github.com/ronytomen "ronytomen (2 commits)")[![bn-mvalentin](https://avatars.githubusercontent.com/u/117293755?v=4)](https://github.com/bn-mvalentin "bn-mvalentin (2 commits)")[![samsouder](https://avatars.githubusercontent.com/u/2642?v=4)](https://github.com/samsouder "samsouder (1 commits)")[![pvitaly](https://avatars.githubusercontent.com/u/2931505?v=4)](https://github.com/pvitaly "pvitaly (1 commits)")[![bn-dstoddard](https://avatars.githubusercontent.com/u/135147123?v=4)](https://github.com/bn-dstoddard "bn-dstoddard (1 commits)")

---

Tags

phpforkingdaemons

### Embed Badge

![Health badge](/badges/barracudanetworks-forkdaemon-php/health.svg)

```
[![Health](https://phpackages.com/badges/barracudanetworks-forkdaemon-php/health.svg)](https://phpackages.com/packages/barracudanetworks-forkdaemon-php)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
