Download the PHP package mglaman/platform-docker without Composer
On this page you can find all versions of the php package mglaman/platform-docker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mglaman/platform-docker
More information about mglaman/platform-docker
Files in mglaman/platform-docker
Package platform-docker
Short Description An opinionated platform stack for Drupal with Docker Compose
License GPL-2.0+
Informations about the package platform-docker
platform-docker
Platform Docker is a CLI tool for scaffolding docker-compose configuration for PHP projects, currently opinionated at PHP projects. Running ` in a directory will create a multi-container application environment for local development.
Currently support is focused at Drupal 7 and Drupal 8. However there is rudimentary WordPress support. Generic PHP applications should be easy to implement.
Requirements
Installation
First, if you do not have Docker then head over to their documentation and see how to install for your machine.
For OSX and Windows users, make sure you have Virtual Box installed and docker-machine configured, follow these instructions for the later and ensure you have
ran docker-machine create --driver virtualbox default
.
`
Usage
Use within any directory. Until the app itself can scaffold a folder, it's expecting a folder structure of
- /shared (if not present it will be made)
- /www (required, this is your build)
- /repository (not required, but opinionated this is the source of what was built.)
- /tests (default directory it will look for Behat tests, however checks shared and www)
If you are on Mac OS X, export with your Docker machine name. The tool will automatically boot the machine or export its environment information as needed. For example, put
in your .bash_profile.
Features
Redis
There is a redis container available. Currently it can be added by adding the following to .platform-project in the root directory of the project
``
Solr
An Apache Solr container is available with the default server URI is ` Currently it can be added by adding the following to .platform-project in the root directory of the project
``
Flamegraphs
There is a helper command which patches Drupal to log xhprof items, and then turn them into a flamegraph.
Behat tests
Searches for behat.yml files, laucnches a Selenium (Firefox) container and executes tests.
Commands
`
All versions of platform-docker with dependencies
symfony/console Version ^2.7
symfony/filesystem Version ^2.7|^3.0
symfony/yaml Version ^2.7|^3.0
symfony/process Version ^2.7|^3.0
mglaman/toolstack-helper Version ^0
mglaman/docker-helper Version ^0