This repository demonstrates the integration of Composer in PHP projects using Docker. It's ideal for PHP developers seeking a consistent development environment with Docker-based Composer setup.
- Dockerfile: Configures PHP and Composer on Apache (located in the
.docker
directory). - Composer Installer Script: A custom script to install Composer.
- Application Source Code: PHP project with Composer configuration (in
app
folder). - Docker-Compose Support: Facilitates easy building and running of the environment.
- Clone the repository:
git clone https://github.com/sukhoy94/docker-composer-php.git
- Navigate to the directory:
cd docker-composer-php
- Build and run the application using Docker Compose:
docker-compose up -d