PHPackages                             docker/php - 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. docker/php

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

docker/php
==========

docker-compose-php

1.1(7y ago)432MITDockerfile

Since Dec 15Pushed 6y agoCompare

[ Source](https://github.com/eric-strive/docker-php)[ Packagist](https://packagist.org/packages/docker/php)[ RSS](/packages/docker-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

docker-php
==========

[](#docker-php)

基于docker搭建的PHP开发环境

如何使用该环境
-------

[](#如何使用该环境)

### 1. Clone project

[](#1-clone-project)

```
  $ git clone https://github.com/binkzhao/docker-php

```

### 2. Rename .env-example to .env

[](#2-rename-env-example-to-env)

```
  $ cd cd docker-php
  $ cp .env-example .env

```

### 3. Modify .env files

[](#3-modify-env-files)

```
  such as `APPLICATION="your codes root directory"`

```

### 4. Run your containers

[](#4-run-your-containers)

```
  $ docker-compose up -d nginx mysql redis

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2706d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/578876?v=4)[wangwei](/maintainers/wangwei)[@wangwei](https://github.com/wangwei)

---

Top Contributors

[![eric-strive](https://avatars.githubusercontent.com/u/22976965?v=4)](https://github.com/eric-strive "eric-strive (8 commits)")

### Embed Badge

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

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

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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