Create-php-container

Just a simple tool that creates a php setup in a docker LAMP stack.

Prerequisites

This tool has some commands that depend on Docker, so you will need to install that smiley

You can run the same setup without docker if you have a local *AMP server already up and running.

How to use it

You will need to use this format:

create-php-container <type> <name>

For example: create-php-container container-only test123

command description
create-php-container container-only <project> starts LAMP stack docker container
create-php-container container-vanilla <project> starts LAMP stack docker container + vanilla php
create-php-container container-mvc <project> starts LAMP stack docker container + mvc php
create-php-container rogue-vanilla <project> starts vanilla php project in current folder
create-php-container rogue-mvc <project> starts mvc php project in current folder
create-php-container down current stop current project
create-php-container cleanup all stop and remove ALL docker projects