PHPackages                             shumkov/dhp - 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. shumkov/dhp

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

shumkov/dhp
===========

Docker PHP interpreter

0.4.0(9y ago)015proprietaryShell

Since May 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/shumkov/dhp)[ Packagist](https://packagist.org/packages/shumkov/dhp)[ RSS](/packages/shumkov-dhp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

DHP. Docker PHP interpreter
===========================

[](#dhp-docker-php-interpreter)

DHP is a wrapper around a PHP docker container. It provides transparent using containerized PHP as you use usual local PHP interpreter.

P.S. i shit bash.

Installation
------------

[](#installation)

1. Install [composer](https://getcomposer.org).
2. Add this line to your `~/.zshrc` or `~/.bashrc`:

    ```
    export PATH=~/.composer/vendor/bin:$PATH
    ```
3. Install DHP:

    ```
    composer global require shumkov/dhp:*
    ```

Upgrade
-------

[](#upgrade)

Run `composer global update shumkov/dhp`

Using
-----

[](#using)

You can use `dhp` command as usual PHP interpreter. Example: `dhp script.php` or `dhp -i`.

xDebug is disabled by default. It will enable when you will start debug.

For starting debugger pass `XDEBUG_CONFIG` env variable. Example: `XDEBUG_CONFIG="idekey=PHPSTORM" dhp script.php`

Configuration
-------------

[](#configuration)

Available options:

- `DHP_DOCKER_IMAGE` - Docker PHP image name. Default: `docker2o.itim.vn/library/php:7.0`
- `DHP_EXPORT_ENV` - List of env variables to pass to php
- `DHP_DOCKER_NET` - Use existing docker network

You have three ways to set options:

1. As env variables in your shell. Example: `export DHP_EXPORT_ENV="APP_ENV"`
2. Pass options before command. Example: `DHP_EXPORT_ENV="APP_ENV" dhp script.php`
3. Create `.env` file with options in your project root path (recommended)

Author
------

[](#author)

Ivan Shumkov

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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

Every ~66 days

Total

4

Last Release

3447d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b15a2973ae35e8cd86b7a92a3967d861b1dd9d1882c6b3cb9b4c67760f705092?d=identicon)[Shumkov](/maintainers/Shumkov)

---

Top Contributors

[![shumkov](https://avatars.githubusercontent.com/u/24296?v=4)](https://github.com/shumkov "shumkov (12 commits)")

### Embed Badge

![Health badge](/badges/shumkov-dhp/health.svg)

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

###  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)
