A PHP development environment using Docker and PHPFarm.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 47ac289 Jul 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data/php Reformat example.php Jul 22, 2017
docker Add default config files Jul 22, 2017
.gitignore Add example page Jul 22, 2017
README.md Create README Jul 22, 2017

README.md

Docker PHP dev

This is an basic setup for a PHP development environment using Docker and PHPFarm.

Usage

Go to the docker/ folder. Copy default.env to .env, then set your project name. This is optional. If you don't set your project name, it will remain as "docker".

Copy default.docker-compose.yml to docker-compose.yml. Modify it as you see fit (although the default one will work).

Run docker-compose up -d, then browse to http://localhost:8056/example.php. You should see an example page running PHP 5.6.