PHPackages                             ph3nol/docker-arch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. ph3nol/docker-arch

ActiveStandalone[DevOps &amp; Deployment](/categories/devops)

ph3nol/docker-arch
==================

Generate Web/CLI projects Dockerized environments, from 1 simple YAML file.

v1.28.1(7y ago)31122[3 issues](https://github.com/Ph3nol/Docker-Arch/issues)MITPHPPHP &gt;=7.1

Since Aug 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Ph3nol/Docker-Arch)[ Packagist](https://packagist.org/packages/ph3nol/docker-arch)[ Docs](https://github.com/Ph3nol/Docker-Arch)[ RSS](/packages/ph3nol-docker-arch/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (9)Versions (78)Used By (0)

Docker-Arch(itect)
==================

[](#docker-architect)

[![Latest Stable Version](https://camo.githubusercontent.com/0b654c762dd24707280a52039ca986e87749e64910b183bef024a0133164fda8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068336e6f6c2f646f636b65722d617263682e737667)](https://packagist.org/packages/ph3nol/docker-arch)[![License](https://camo.githubusercontent.com/0ac5136c0c2fd47845ef3d9481d03fa94c41632c81aed6552912b9aebb7a8ee7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7068336e6f6c2f646f636b65722d617263682e737667)](https://packagist.org/packages/ph3nol/docker-arch)[![Total Downloads](https://camo.githubusercontent.com/c6e337c832a388f7633bef2bb2401780a148a7949886f8508f6e6efeb5f43426/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068336e6f6c2f646f636b65722d617263682e737667)](https://packagist.org/packages/ph3nol/docker-arch)[![Build Status](https://camo.githubusercontent.com/23e759efe0b152079415ed63beecc6ae5c19c95a907d2bd232236c419dcfc32a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f5068336e6f6c2f446f636b65722d417263682e706e67)](http://travis-ci.org/Ph3nol/Docker-Arch)

[![SensioLabsInsight](https://camo.githubusercontent.com/40cc7e5c9b6303670d8b3abd41c9dca2c7f0f8b03d4a7cef4e779c34cae502b8/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61636237623266662d306161312d343762662d613061392d3762393434633336623763342f6269672e706e67)](https://insight.sensiolabs.com/projects/acb7b2ff-0aa1-47bf-a0a9-7b944c36b7c4)

Demonstration
-------------

[](#demonstration)

[![Basic Demo](https://github.com/Ph3nol/Docker-Arch/raw/master/examples/basic-demo.gif "Basic Demo")](https://github.com/Ph3nol/Docker-Arch/raw/master/examples/basic-demo.gif)

User Docker-Arch from dedicated Docker image (recommanded)
----------------------------------------------------------

[](#user-docker-arch-from-dedicated-docker-image-recommanded)

From dedicated [Docker image](https://hub.docker.com/r/ph3nol/docker-arch/).

```
docker pull ph3nol/docker-arch
```

Use Docker-Arch from local installation (PHP 7.1+ required)
-----------------------------------------------------------

[](#use-docker-arch-from-local-installation-php-71-required)

```
curl -sSL https://raw.githubusercontent.com/Ph3nol/Docker-Arch/master/install.sh | sh
```

Docker-Arch environment generation
----------------------------------

[](#docker-arch-environment-generation)

Go to your project root directory and create/edit `.docker-arch.yml` file [see examples](examples/).

Then generate your Docker environment:

```
docker run -it -v $(PWD):/destination ph3nol/docker-arch:latest generate /destination
```

Finally, use `.docker-arch/do` script, from the project, for somes actions:

```
.docker-arch/do build    # Build containers (like `docker-compose up --build -d`)
.docker-arch/do start    # Start containers (like `docker-compose up -d`)
.docker-arch/do shell    # Access a container Shell
.docker-arch/do ui       # Access generated UI that provides you Docker environment informations
.docker-arch/do dc       # Access `docker-compose` with your configuration, for specific requests
.docker-arch/do stop     # Stop containers (like `docker-compose stop`)
.docker-arch/do clean    # Stop/Remove containers and reset linked volumes
...
```

To use the Docker image so fast, you can use these aliases/functions:

#### Unixy

[](#unixy)

```
function docker-arch {
    case "$1" in
        *)
            if [ -z $2 ]; then DESTINATION_PATH=$PWD; else DESTINATION_PATH=$2; fi
            if [[ "$DESTINATION_PATH" == "." ]]; then DESTINATION_PATH=$PWD; fi

            docker run -it -v $DESTINATION_PATH:/destination ph3nol/docker-arch:latest generate /destination
            ;;
    esac
}
```

#### Windows

[](#windows)

```
// ~/Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1

function docker-arch ([String] $Destination = $PWD) {
  docker run --rm -it -v "${Destination}:/destination" ph3nol/docker-arch:latest generate /destination
}
```

To do
-----

[](#to-do)

- Improve documentation
- Add new Services/DockerContainers - Feel free to contribute! :)
- Write fucking unit Tests (Atoum powered)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 92.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Recently: every ~16 days

Total

77

Last Release

2836d ago

Major Versions

v0.10-alpha → v1.0.02017-09-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/79ab5d3acf23a0168a1fcb922906c451579d4ab3143f6c0bc5244deb69d83073?d=identicon)[Ph3nol](/maintainers/Ph3nol)

---

Top Contributors

[![Ph3nol](https://avatars.githubusercontent.com/u/183984?v=4)](https://github.com/Ph3nol "Ph3nol (243 commits)")[![anivon](https://avatars.githubusercontent.com/u/4992953?v=4)](https://github.com/anivon "anivon (18 commits)")[![airtonix](https://avatars.githubusercontent.com/u/61225?v=4)](https://github.com/airtonix "airtonix (1 commits)")

---

Tags

developer-toolsdevopsdockerdocker-archdocker-composedocker-imagedocker-syncgeneratorgeneratordevopsdockerdeveloper-toolsdocker-compose

### Embed Badge

![Health badge](/badges/ph3nol-docker-arch/health.svg)

```
[![Health](https://phpackages.com/badges/ph3nol-docker-arch/health.svg)](https://phpackages.com/packages/ph3nol-docker-arch)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
