Download the PHP package enpii/enpii-dev-suite without Composer
On this page you can find all versions of the php package enpii/enpii-dev-suite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download enpii/enpii-dev-suite
More information about enpii/enpii-dev-suite
Files in enpii/enpii-dev-suite
Package enpii-dev-suite
Short Description Development Suite used for Enpii. We shared it to all
License
Informations about the package enpii-dev-suite
Nginx, PHP-FPM, MySql for development - Enpii Team
Overview
This is a development suite for development with PHP. It can be easily deployed with 1 or 2 commands. It includes:
- Nginx (
nginx_main
for serving as a proxy server) - PHP-FPM (
php72_fpm
,php_latest_fpm
for executing PHP scripts via FastCGI of Nginx) - MySQL (
mysql57
,mysql80
database, we have 5.7 for the stable and 8.0 is latest one) - PhpMyAdmin (
phpmyadmin
tool for managing database)
Install prerequisites
For now, this project has been mainly created for Unix (Linux/MacOS)
. Perhaps it could work on Windows.
All requisites should be available for your distribution. The most important are :
Check if docker-compose
is already installed by entering the following command :
Check Docker Compose compatibility :
Installation
- Clone or download the project
- Change directory to the specified directory (default to
enpii-dev-suite
)
chmod +x /scripts/init-dev-suite.sh
if you can't execute it
For Mac user, it's better to create it inside your home, e.g <path/to/project-directory>
= ~/workspace/enpii-dev-suite/
- Repair params on
docker-compose.yml
ofetc/*.conf
oretc/*.ini
files to match your local -
Run Docker Compose
- Wait for several mins and you'll have:
- Nginx (work as a webserver)
- PHP-FPM (PHP execution server)
- MySql
- phpmyadmin (should connect to mysql via host host.docker.internal)
- We include MySQL in docker containers but because we believe database is important and you may lose you db once docker failed. Using a database server on local machine is out proposal: use
host.docker.internal
(for mac),10.0.2.2
(for docker machine) for the hostname to connect to your main machine.
Using
PHP related commands
PHP composer
- Run the PHP composer container which your project folder on local machine bound to
/var/www/html
of composer container
WP CLI
Running phpunit
Running codeception test
Similar thing if you want to use php_latest (use php_latest_cli instead)
SSDB (Redis like service but running on SSD)
ssdb
is the instancephpssdbadmin
is the GUI manager of SSDB, http://:${PHPSSDBADMIN_WEB_EXPOSING_PORT}, user: admin
, password:password
Help us
Any thought, feedback or issues, please put it here https://github.com/npbtrac/enpii-dev-suite/issues