PHPackages                             muffin-hayate/yii-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. muffin-hayate/yii-sail

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

muffin-hayate/yii-sail
======================

Docker files for running a basic Yii application.

v1.0(1y ago)12MITShellPHP ^8.0

Since Jan 1Pushed 1y agoCompare

[ Source](https://github.com/Muffin-Hayate/yii-sail)[ Packagist](https://packagist.org/packages/muffin-hayate/yii-sail)[ RSS](/packages/muffin-hayate-yii-sail/feed)WikiDiscussions 1.x Synced 1mo ago

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

[](https://github.com/Muffin-Hayate/yii-sail)

Yii Sail
========

[](#yii-sail)

[![Total Downloads](https://camo.githubusercontent.com/8e826e55060105098cbd119717b98c2fb08228c0c53c4c512db0bbc9ea9557a3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d756666696e2d6861796174652f7969692d7361696c)](https://packagist.org/packages/muffin-hayate/yii-sail)[![Latest Stable Version](https://camo.githubusercontent.com/0aad2666d008d74b6b92ede52d9c8be9e5837591dd18e1cb9ea47eea08bd3a19/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d756666696e2d6861796174652f7969692d7361696c)](https://packagist.org/packages/muffin-hayate/yii-sail)[![License](https://camo.githubusercontent.com/91491676b7ba70d563d6b163c0c5303abc5e6684881609cdb2303c765e9c310d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d756666696e2d6861796174652f7969692d7361696c)](https://packagist.org/packages/muffin-hayate/yii-sail)

Commands
--------

[](#commands)

### Install Services

[](#install-services)

`php yii sail/install`

### Add new Services

[](#add-new-services)

`php yii sail/add`

### Use Sail

[](#use-sail)

`./vendor/bin/sail ...`

or.. use this nice alias from the [Laravel Sail Documentation](https://laravel.com/docs/11.x/sail#configuring-a-shell-alias):

```
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
```

to then use it like

`sail ...` (from the root folder of the project)

Changes
-------

[](#changes)

- Refactoring:
    - Removed as many Laravel dependencies as possible (there's no need for the framework here)
    - Switched from `Illuminate\Console\Command` to low-level Symfony Commands
    - Path references updated to the `muffin-hayate/yii-sail` absolute vendor path
- Added configurations (`config/params.php` &amp; `composer.json > extras`) necessary to register the sail commands in a Yii Application
- Changed the start-command for the PHP Application (from `artisan serve` to `yii serve`) in the Dockerfiles (PHP Runtimes)
- Removed the following Features:
    - `.styleci.yml` preset changed from "laravel" to "psr-12"
    - all debugging commands removed (these were artisan specific)
    - `artisan` command replaced with `yii` command
    - `sail test` moved from PHPUnit to Codeception (specifically the `composer test` command)
    - `dusk` &amp; `pint` commands removed (pint is laravel specific, dusk is inferior to codeception imo)
    - `sail tinker` command removed (laravel exclusive)
    - all sharing features removed
    - command to publish configuration files removed (laravel exclusive)
- Added the following features:
    - `codeception` command added
    - `psalm` &amp; `rector` commands added

Perspective / To-Do
-------------------

[](#perspective--to-do)

- Thinking about removing the `illuminate/collections` package
- Maybe implementing a way to manipulate yii config files when installing / adding a service (like it's done with the `.env` in Laravel Sail) - (likely too complicated because it all depends on external packages etc...)
- Adding more hooks into Yii specific functionalities for the sail script (needs more Yii research on my end)

[](https://github.com/laravel/sail/)

[![Logo Laravel Sail](/art/logo.svg)](/art/logo.svg)

[![Total Downloads](https://camo.githubusercontent.com/2161a9b7a996e96bb31eb4372147d22d7eb13550e472fd636ce8f53f7b13d906/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2f7361696c)](https://packagist.org/packages/laravel/sail)[![Latest Stable Version](https://camo.githubusercontent.com/d6d4cf054970f47630980435bc3d7e37e8def1bc4d60194cd84d469799cf7418/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2f7361696c)](https://packagist.org/packages/laravel/sail)[![License](https://camo.githubusercontent.com/66b8444fb2b05bc5ca469230ab75dfaa5e06577a3fffb766ca2013acf5190332/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c61726176656c2f7361696c)](https://packagist.org/packages/laravel/sail)

Introduction
------------

[](#introduction)

Sail provides a Docker powered local development experience for Laravel that is compatible with macOS, Windows (WSL2), and Linux. Other than Docker, no software or libraries are required to be installed on your local computer before using Sail. Sail's simple CLI means you can start building your Laravel application without any previous Docker experience.

#### Inspiration

[](#inspiration)

Laravel Sail is inspired by and derived from [Vessel](https://github.com/shipping-docker/vessel) by [Chris Fidao](https://github.com/fideloper). If you're looking for a thorough introduction to Docker, check out Chris' course: [Shipping Docker](https://serversforhackers.com/shipping-docker).

Official Documentation
----------------------

[](#official-documentation)

Documentation for Sail can be found on the [Laravel website](https://laravel.com/docs/sail).

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

[](#contributing)

Thank you for considering contributing to Sail! You can read the contribution guide [here](https://github.com/laravel/sail/.github/CONTRIBUTING.md).

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/laravel/sail/security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

Laravel Sail is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance41

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50.3% 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 ~15 days

Total

2

Last Release

480d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/69e4446cb21ec894144b70027cc08ec25c8bb49f0079f526f3cd4736cefe7dbc?d=identicon)[Muffin-Hayate](/maintainers/Muffin-Hayate)

---

Top Contributors

[![driesvints](https://avatars.githubusercontent.com/u/594614?v=4)](https://github.com/driesvints "driesvints (187 commits)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (85 commits)")[![Jubeki](https://avatars.githubusercontent.com/u/15707543?v=4)](https://github.com/Jubeki "Jubeki (21 commits)")[![finagin](https://avatars.githubusercontent.com/u/11045296?v=4)](https://github.com/finagin "finagin (11 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (7 commits)")[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (5 commits)")[![SamuelMwangiW](https://avatars.githubusercontent.com/u/1807304?v=4)](https://github.com/SamuelMwangiW "SamuelMwangiW (4 commits)")[![ribeirobreno](https://avatars.githubusercontent.com/u/1036515?v=4)](https://github.com/ribeirobreno "ribeirobreno (3 commits)")[![dimitriacosta](https://avatars.githubusercontent.com/u/5995547?v=4)](https://github.com/dimitriacosta "dimitriacosta (3 commits)")[![ankurk91](https://avatars.githubusercontent.com/u/6111524?v=4)](https://github.com/ankurk91 "ankurk91 (3 commits)")[![ariaieboy](https://avatars.githubusercontent.com/u/15873972?v=4)](https://github.com/ariaieboy "ariaieboy (3 commits)")[![amayer5125](https://avatars.githubusercontent.com/u/3212673?v=4)](https://github.com/amayer5125 "amayer5125 (3 commits)")[![prageeth](https://avatars.githubusercontent.com/u/230793?v=4)](https://github.com/prageeth "prageeth (3 commits)")[![SamuelMTeixeira](https://avatars.githubusercontent.com/u/91707483?v=4)](https://github.com/SamuelMTeixeira "SamuelMTeixeira (2 commits)")[![staudenmeir](https://avatars.githubusercontent.com/u/1853169?v=4)](https://github.com/staudenmeir "staudenmeir (2 commits)")[![totov](https://avatars.githubusercontent.com/u/2348955?v=4)](https://github.com/totov "totov (2 commits)")[![xiCO2k](https://avatars.githubusercontent.com/u/823088?v=4)](https://github.com/xiCO2k "xiCO2k (2 commits)")[![zendraxl](https://avatars.githubusercontent.com/u/44451816?v=4)](https://github.com/zendraxl "zendraxl (2 commits)")[![binaryfire](https://avatars.githubusercontent.com/u/5361908?v=4)](https://github.com/binaryfire "binaryfire (2 commits)")[![caneco](https://avatars.githubusercontent.com/u/502041?v=4)](https://github.com/caneco "caneco (2 commits)")

---

Tags

docker-composeyii3yii3-extensionsdockeryii

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/muffin-hayate-yii-sail/health.svg)

```
[![Health](https://phpackages.com/badges/muffin-hayate-yii-sail/health.svg)](https://phpackages.com/packages/muffin-hayate-yii-sail)
```

###  Alternatives

[aschmelyun/fleet

Run multiple Laravel Sail websites on your local environment

33269.5k](/packages/aschmelyun-fleet)[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)[shopware/deployment-helper

Shopware deployment tools

19305.3k5](/packages/shopware-deployment-helper)

PHPackages © 2026

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