PHPackages                             tigerb/naruto - 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. tigerb/naruto

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

tigerb/naruto
=============

An object-oriented multi process manager for PHP

v0.5.0(7y ago)14311733[2 issues](https://github.com/TIGERB/naruto/issues)MITPHP

Since Nov 30Pushed 2y ago10 watchersCompare

[ Source](https://github.com/TIGERB/naruto)[ Packagist](https://packagist.org/packages/tigerb/naruto)[ Docs](http://tigerb.cn)[ RSS](/packages/tigerb-naruto/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (11)Used By (0)

```
                       _
                      | |
_ __   __ _ _ __ _   _| |_ ___
| '_ \ / _` | '__| | | | __/ _ \
| | | | (_| | |  | |_| | || (_) |
|_| |_|\__,_|_|   \__,_|\__\___/ .TIGERB.cn

An object-oriented multi process manager for PHP

Version: 0.5.0

```

[![OS](https://camo.githubusercontent.com/85c6c40a8fa7af7632a46a897ffbc3c81c505a60f75d6e31d9f7d0ea9f694355/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f732d4c696e757825323644617277696e2d626c75652e737667)](http://naruto.tigerb.cn/)

 [![](https://camo.githubusercontent.com/b1d4b80fd193ba5a5dabea6e4379412ea6d50afa41e3bb208be4cc7a73651c58/687474703a2f2f626c6f672d313235313031393936322e636f732e61702d6265696a696e672e6d7971636c6f75642e636f6d2f71696e69755f696d675f323032322f7765636861742d626c6f672d7172636f64652e6a70673f696d6167654d6f6772322f7468756d626e61696c2f32363078323630212f666f726d61742f776562702f626c75722f3178302f7175616c6974792f39307c696d616765736c696d)](http://naruto.tigerb.cn/)

How to use?
===========

[](#how-to-use)

### Install

[](#install)

```
composer create-project tigerb/naruto naruto --prefer-dist && cd naruto

```

### Business code

[](#business-code)

```
new Manager([], function (Process $worker) {
			// mock business logic
			(new Test())->businessLogic();
		}
	);
```

### Run

[](#run)

> echo export NARUTO\_PATH=$(pwd) &gt;&gt; ~/.profile &amp;&amp; echo 'export PATH="$PATH:$NARUTO\_PATH/bin"' &gt;&gt; ~/.profile &amp;&amp; source ~/.profile

> composer install

```
naruto start/reload/quit/stop

```

### Manager process

[](#manager-process)

- start &lt;worker-num&gt; &lt;passwd&gt;: start the naruto
- reload: gracefully quit&amp;start the worker process
- quit: gracefully exit
- stop: forcefully exit

Specification
=============

[](#specification)

- [中文](./docs/specification-zh.md)
- English

TODO
====

[](#todo)

- Implement a shell script to control the process
- Implement a daemon for worker by the master
- Optimize log
- Use a lightweight Orm [Metoo](https://github.com/catfan/Medoo)
- Implement max execute times for the worker process
- Add config file
- Remove a lightweight Orm [Metoo](https://github.com/catfan/Medoo) for keep lightweight @2019/03/23
- Implement email send when the worker in a exception&amp;error
- Add config reload strategy

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.9% of commits — single point of failure

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 ~59 days

Recently: every ~110 days

Total

9

Last Release

2656d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d77b4310b5aac55edda3c243ae679a0e2fbfd747ce57cb8a29df653ce2308ca?d=identicon)[TIGERB](/maintainers/TIGERB)

---

Top Contributors

[![TIGERB](https://avatars.githubusercontent.com/u/12149373?v=4)](https://github.com/TIGERB "TIGERB (46 commits)")[![wujunze](https://avatars.githubusercontent.com/u/12997869?v=4)](https://github.com/wujunze "wujunze (1 commits)")

---

Tags

phpphp-cliphp-frameworkphp-libraryphp-multi-processphp-tasktask-manager

### Embed Badge

![Health badge](/badges/tigerb-naruto/health.svg)

```
[![Health](https://phpackages.com/badges/tigerb-naruto/health.svg)](https://phpackages.com/packages/tigerb-naruto)
```

###  Alternatives

[mtdowling/supervisor-event

Wires callback functions to Supervisor events

123177.3k1](/packages/mtdowling-supervisor-event)

PHPackages © 2026

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