Download the PHP package hoepfner-digital/wp-sail without Composer
On this page you can find all versions of the php package hoepfner-digital/wp-sail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hoepfner-digital/wp-sail
More information about hoepfner-digital/wp-sail
Files in hoepfner-digital/wp-sail
Package wp-sail
Short Description Docker files for running a basic WordPress application. Derived from Wordpress Sail
License MIT
Informations about the package 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 and wordpress-sail.
Inspiration
Laravel Sail is inspired by and derived from Vessel by Chris Fidao. If you're looking for a thorough introduction to Docker, check out Chris' course: Shipping Docker.
In addition to modifications already made by Ethan Clevenger I just want to have a basis to use patchfiles for updates. Also im looking into implementing Devcontainer.
Sail customization
Add Wordpress command line interface for Wordpress to Container
WP-CLI needs to be added as global binary.
Use PHP's built-in web server serving from WP-CLI
To use the built-in web server from WP-CLI change the supervisord configuration.
Composer dependencies
Remove unnecessary dependency illuminate/console. Add wp-cli/wp-cli as future console.
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
Setup the initial project strucute
Make sure the local autoload is required as part of the WP-CLI lifecycle
Create the docker-compose.yml file
Build the containers
License
Laravel Sail is open-sourced software licensed under the MIT license.
All versions of wp-sail with dependencies
illuminate/contracts Version ^8.0|^9.0
illuminate/support Version ^8.0|^9.0
wp-cli/wp-cli Version ^2.7