PHPackages                             jimchen/hyperf-sail - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. jimchen/hyperf-sail

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

jimchen/hyperf-sail
===================

模仿laravel/sail，兼容hyperf

2.0.0(4y ago)336MITPHPPHP &gt;=7.2

Since Jun 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/JimChenWYU/hyperf-sail)[ Packagist](https://packagist.org/packages/jimchen/hyperf-sail)[ RSS](/packages/jimchen-hyperf-sail/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

 hyperf-sail
=============

[](#-hyperf-sail-)

 模仿laravel/sail，兼容hyperf.

Installing
----------

[](#installing)

```
$ composer require jimchen/hyperf-sail -vvv
```

Usage
-----

[](#usage)

### Setup

[](#setup)

After Sail has been installed, you may run the `sail:install` command. This command will publish Sail's `docker-compose.yml` file to the root of your application:

```
$ php bin/hyperf.php sail:install
```

Finally, you may start Sail. To continue learning how to use Sail, please continue reading the remainder of this documentation:

```
$ ./vendor/bin/sail up
```

However, instead of repeatedly typing `vendor/bin/sail` to execute Sail commands, you may wish to configure a Bash alias that allows you to execute Sail's commands more easily:

```
$ alias sail='bash vendor/bin/sail'
```

Once the Bash alias has been configured, you may execute Sail commands by simply typing `sail`. The remainder of this documentation's examples will assume that you have configured this alias:

```
$ sail up
```

### Starting &amp; Stopping Sail

[](#starting--stopping-sail)

Before starting Sail, you should ensure that no other web servers or databases are running on your local computer. To start all of the Docker containers defined in your application's `docker-compose.yml` file, you should execute the up command:

```
$ sail up
```

To start all of the Docker containers in the background, you may start Sail in "detached" mode:

```
$ sail up -d
```

Once the application's containers have been started, you may access the project in your web browser at: `http://localhost:9501`.

To stop all of the containers, you may simply press Control + C to stop the container's execution. Or, if the containers are running in the background, you may use the `down` command:

```
$ sail down
```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/JimChenWYU/hyperf-sail/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/JimChenWYU/hyperf-sail/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

2

Last Release

1796d ago

Major Versions

1.0.0 → 2.0.02021-06-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/20cebafc45fd6fc5f67bf655119a3b27e9b208e248f2d7f5c98fd6c0a101485b?d=identicon)[jimchen](/maintainers/jimchen)

---

Top Contributors

[![JimChenWYU](https://avatars.githubusercontent.com/u/12371374?v=4)](https://github.com/JimChenWYU "JimChenWYU (30 commits)")

---

Tags

dockerhyperf

### Embed Badge

![Health badge](/badges/jimchen-hyperf-sail/health.svg)

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

###  Alternatives

[spatie/docker

Run a docker container in your PHPUnit tests

478120.2k12](/packages/spatie-docker)[ryoluo/sail-ssl

Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.

188672.6k2](/packages/ryoluo-sail-ssl)[aschmelyun/fleet

Run multiple Laravel Sail websites on your local environment

33269.5k](/packages/aschmelyun-fleet)[testcontainers/testcontainers

Testcontainers implementation in PHP

199184.7k17](/packages/testcontainers-testcontainers)[contributte/bootstrap

Extra contrib to nette/boostrap

111.5M3](/packages/contributte-bootstrap)[phpexperts/dockerize

The quickest and easiest way to switch any PHP app/library to use Docker.

7116.9k21](/packages/phpexperts-dockerize)

PHPackages © 2026

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