Download the PHP package ysocode/peach without Composer
On this page you can find all versions of the php package ysocode/peach. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ysocode/peach
More information about ysocode/peach
Files in ysocode/peach
Package peach
Short Description Docker files for running a basic application.
License MIT
Informations about the package peach
Peach - Simplify Your Local Development With Docker
Introduction
Peach provides a local development experience based on Docker. No software or library needs to be installed locally before using Peach. Peach's simple CLI allows you to start building your application without any previous experience with Docker.
Inspiration
Peach is inspired by and derived from Sail, created by Taylor Otwell. For more information, check out the Sail repository.
Official Documentation
Install Peach using Composer:
Configure the services for Peach using the Basket Manager:
Modify existing Peach services using the Basket Manager:
Setting up a Shell Alias:
By default, Peach commands are invoked using the script vendor/bin/peach:
However, instead of typing vendor/bin/peach repeatedly to run Peach commands, you may want to set up a shell alias to
make running Peach commands easier:
Starting and Stopping Peach:
Before starting Peach, make sure no other web server or database is running on your local machine. To start all Docker
containers defined in your application's docker-compose.yml file, run the up command:
To start all Docker containers in the background, you can start Peach in "detached" mode:
Once the application's containers are up, you can access the project in your web browser at: http://localhost.
To stop all containers, you can press Control + C to interrupt the container's execution. If the containers are running in the background, you can use the stop command:
To restart the containers, you can use the start command:
To stop and remove all containers, you can use the down command:
License
Peach is open-sourced software licensed under the MIT license.