PHPackages                             lobtao/hyperf-helper - 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. lobtao/hyperf-helper

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

lobtao/hyperf-helper
====================

quick start -d/reload/restart/stop hyperf(~2.1.0 &amp; ~2.2.0) server

0.0.10(2y ago)91.5k↓100%3[1 issues](https://github.com/lobtao/hyperf-helper/issues)proprietaryPHP

Since Jan 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/lobtao/hyperf-helper)[ Packagist](https://packagist.org/packages/lobtao/hyperf-helper)[ RSS](/packages/lobtao-hyperf-helper/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (1)Versions (11)Used By (0)

hyperf-helper
=============

[](#hyperf-helper)

#### 1. quick start -d/reload/restart/stop server

[](#1-quick-start--dreloadrestartstop-server)

#### 2. support hyperf ~2.1.0 &amp; ~2.2.0

[](#2-support-hyperf-210--220)

#### 3. support CentOS7+, Ubuntu 18.0.4+, macOS

[](#3-support-centos7-ubuntu-1804-macos)

#### 4. support swoole-cli

[](#4-support-swoole-cli)

#### 5. support hyperf phar

[](#5-support-hyperf-phar)

### install

[](#install)

```
composer require lobtao/hyperf-helper:dev-main
```

### start server

[](#start-server)

```
php ./bin/hyperf.php server:start
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:start
php ./hyperf-skeleton.phar server:start
```

### daemonize mode start server

[](#daemonize-mode-start-server)

```
php ./bin/hyperf.php server:start -d
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:start -d
php ./hyperf-skeleton.phar server:start -d
```

### stop server,default by master pid

[](#stop-serverdefault-by-master-pid)

```
php ./bin/hyperf.php server:stop
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:stop
php ./hyperf-skeleton.phar server:stop
```

### stop server by app name

[](#stop-server-by-app-name)

```
php ./bin/hyperf.php server:stop -a
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:stop -a
php ./hyperf-skeleton.phar server:stop -a
```

### stop server by port

[](#stop-server-by-port)

```
php ./bin/hyperf.php server:stop -p
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:stop -p
php ./hyperf-skeleton.phar server:stop -p
```

### safe reload worker&amp;task process, default

[](#safe-reload-workertask-process-default)

```
php ./bin/hyperf.php server:reload
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:reload
php ./hyperf-skeleton.phar server:reload
```

### safe reload task process only

[](#safe-reload-task-process-only)

```
php ./bin/hyperf.php server:reload -t
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:reload -t
php ./hyperf-skeleton.phar server:reload -t
```

### view server status, default by master pid

[](#view-server-status-default-by-master-pid)

```
php ./bin/hyperf.php server:status
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:status
php ./hyperf-skeleton.phar server:status
```

### view server status by app name

[](#view-server-status-by-app-name)

```
php ./bin/hyperf.php server:status -a
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:status -a
php ./hyperf-skeleton.phar server:status -a
```

### view server status by port

[](#view-server-status-by-port)

```
php ./bin/hyperf.php server:status -p
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:status -p
php ./hyperf-skeleton.phar server:status -p
```

### restart server

[](#restart-server)

```
php ./bin/hyperf.php server:restart
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:restart
php ./hyperf-skeleton.phar server:restart
```

### daemonize mode restart server

[](#daemonize-mode-restart-server)

```
php ./bin/hyperf.php server:restart -d
swoole-cli -d swoole.use_shortname='Off' ./bin/hyperf.php server:restart -d
php ./hyperf-skeleton.phar server:restart -d
```

### quick shell

[](#quick-shell)

```
1. php ./bin/hyperf.php vendor:publish lobtao/hyperf-helper
2. chmod +x ./server.sh
3. command list
./server.sh start
./server.sh start -d
./server.sh restart
./server.sh restart -d
./server.sh reload
./server.sh stop
./server.sh status
```

###  Health Score

27

—

LowBetter than 52% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~71 days

Total

10

Last Release

871d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7aa8c9522feaea303b48224611f39be3663c34eef685930fbf4b1480c24fbeda?d=identicon)[lobtao](/maintainers/lobtao)

---

Top Contributors

[![lobtao](https://avatars.githubusercontent.com/u/3361397?v=4)](https://github.com/lobtao "lobtao (124 commits)")

---

Tags

phphelperhyperf

### Embed Badge

![Health badge](/badges/lobtao-hyperf-helper/health.svg)

```
[![Health](https://phpackages.com/badges/lobtao-hyperf-helper/health.svg)](https://phpackages.com/packages/lobtao-hyperf-helper)
```

###  Alternatives

[zjkal/time-helper

一个简单快捷的PHP日期时间助手类库。 a smart PHP datetime helper library.

21128.6k](/packages/zjkal-time-helper)

PHPackages © 2026

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