PHPackages                             hoepfner-digital/wp-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. hoepfner-digital/wp-sail

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

hoepfner-digital/wp-sail
========================

Docker files for running a basic WordPress application. Derived from Wordpress Sail

1.1.2(3y ago)011MITShellPHP ^7.3|^8.0

Since Dec 11Pushed 3y agoCompare

[ Source](https://github.com/HoepfnerDigital/wp-sail)[ Packagist](https://packagist.org/packages/hoepfner-digital/wp-sail)[ RSS](/packages/hoepfner-digital-wp-sail/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (8)Used By (0)

WP Sail
=======

[](#wp-sail)

WP Sail provides a Docker powered local development experience that is compatible with macOS, Windows (WSL2), and Linux.

Based on [Laravel Sail](https://github.com/laravel/sail/) and [wordpress-sail](https://github.com/sterner-stuff/wordpress-sail/).

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).

In addition to modifications already made by [Ethan Clevenger](https://github.com/ethanclevenger91) I just want to have a basis to use patchfiles for updates. Also im looking into implementing Devcontainer.

Sail customization
------------------

[](#sail-customization)

#### Add Wordpress command line interface for Wordpress to Container

[](#add-wordpress-command-line-interface-for-wordpress-to-container)

[WP-CLI](https://wp-cli.org/de/#installation) needs to be added as global binary.

```
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
    && chmod +x wp-cli.phar \
    && mv wp-cli.phar /usr/local/bin/wp

```

#### Use PHP's built-in web server serving from WP-CLI

[](#use-phps-built-in-web-server-serving-from-wp-cli)

To use the built-in web server from WP-CLI change the supervisord configuration.

```
command=/usr/bin/php -d variables_order=EGPCS /usr/local/bin/wp server --docroot=/var/www/html/web/ --host=0.0.0.0 --port=80

```

#### Composer dependencies

[](#composer-dependencies)

Remove unnecessary dependency `illuminate/console`. Add `wp-cli/wp-cli` as future console.

#### Installation Routine

[](#installation-routine)

Make the installation routine in src/Console compatible with WP-CLI. Also add those commands to WP-CLI via composers autoloader.

How to use
----------

[](#how-to-use)

Setup the initial project strucute

```
composer create-project roots/bedrock wp-project
composer require hoepfner-digital/wp-sail

```

Make sure the local autoload is required as part of the WP-CLI lifecycle

```
# in wp-cli.yml
require:
    - vendor/autoload.php

```

Create the docker-compose.yml file

```
vendor/bin/wp sail:install

# with the services you want, by default MySQL and Mailhog will be installed
vendor/bin/wp sail:install --with=mysql,mailhog,redis

```

Build the containers

```
sail up

# or re-build containers
sail build --no-cache

```

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Total

7

Last Release

1275d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/edfd6689f1ee5286378b26a70184c46e3ec7784b74f1cffbe002c3c336521305?d=identicon)[hoepfner-digital](/maintainers/hoepfner-digital)

---

Top Contributors

[![TimHoepfner](https://avatars.githubusercontent.com/u/48754913?v=4)](https://github.com/TimHoepfner "TimHoepfner (8 commits)")

---

Tags

wordpressdocker

### Embed Badge

![Health badge](/badges/hoepfner-digital-wp-sail/health.svg)

```
[![Health](https://phpackages.com/badges/hoepfner-digital-wp-sail/health.svg)](https://phpackages.com/packages/hoepfner-digital-wp-sail)
```

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725172.4k14](/packages/tallstackui-tallstackui)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)

PHPackages © 2026

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