Download the PHP package braceyourself/compose without Composer
On this page you can find all versions of the php package braceyourself/compose. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download braceyourself/compose
More information about braceyourself/compose
Files in braceyourself/compose
Package compose
Short Description Initialize your application using docker and docker compose
License MIT
Informations about the package compose
Compose for Laravel
This package is in development and not yet ready for production use.
Introduction
Compose for Laravel is a package that simplifies running and deploying Laravel applications using Docker Compose. It supports macOS, Linux, and Windows (WSL2). This package leverages Docker Compose for container orchestration and Traefik for routing HTTP requests.
Installation
To install Compose for Laravel, include it in your Laravel application's composer.json
file:
Upon installation, the compose
script will be available in vendor/bin
.
Run the install command to set up node_modules and composer dependencies.
Usage
Available Commands
- compose install: Uses docker containers to install composer and npm dependencies
- compose build: Build the Docker containers
- compose start: Start the application (docker-compose up -d)
- compose deploy: Deploy the application to a remote server
All other commands are passed to docker compose or artisan
You can always use docker compose directly after running compose the first time.
After running compose for the first time, the docker-compose file will be published to your project root.
Environment Variables
Ensure you have a .env
file in your project root. The script will source this file to set up the necessary environment variables.
When running the deploy
command, the remote .env
file will be created based on your .env.example
file
Troubleshooting
If you encounter issues, ensure your system meets the requirements and that Docker and Docker Compose are properly installed and configured.
Please report any issues.
All versions of compose with dependencies
illuminate/support Version ^10|^11
illuminate/console Version ^10|^11
laravel/prompts Version ^0.1