Presentation

Environment composition

This environment provies the following tools to develop in PHP / JS :

Core

Available version :

- `7.0-fpm`
- `7.1-fpm`
- `7.2-fpm`
- `7.0-fpm-alpine`
- `7.1-fpm-alpine`
- `7.2-fpm-alpine`

The version is configured in .env file. Default: 7.2-fpm.

  • Database

Two different database are available :

The database wished is configured in .env file. Default: mysql

  • Web server

Two web server are available :

All of them are in Alpine version.

  • Cache server

Two cache server are available :

All of them are in Alpine version

Tools

Database admin

Mail hub

  • MailDev : SMTP Server + Web Interface for viewing and testing emails during development

Composer

NodeJs

Npm

  • Npm : Package manager

Grunt

  • Grunt : Javascript task runner

Gulp

  • Gulp : Javascript task runner

Yarn

  • Yarn : Package manager

Makefile

A Makefile is available in command line to manage several actions.

Type following command to display help :

make

or

make help

Output:

help:  Show this help
servers:  Start all containers
start:  Start all containers
stop:  Stop all containers
restart:  Restart all containers
certificate:  Generate a SSL certificate
renewal:  Renewal a knowed SSL certificate
install:  Install EnvDev container environment
homepage:  Launch EnvDev homepage in default browser
terminal:  Create a terminal to php container
terminalroot: Create a terminal to php container as root

Optional tools

Optional tools are available to use in EnvDev. They are not included by default but can be added easily.

  • APIGen : Documentation for your PHP project

Image container : vfac/apigen

Image container : vfac/deployer