PHPackages                             jketelaar/dockit - 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. jketelaar/dockit

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

jketelaar/dockit
================

Dockit with Docker!

20PHP

Since Jun 13Pushed 7y ago2 watchersCompare

[ Source](https://github.com/JKetelaar/Dockit)[ Packagist](https://packagist.org/packages/jketelaar/dockit)[ RSS](/packages/jketelaar-dockit/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Dockit
======

[](#dockit)

Dockerize it

This is still Work in Progress

What is this for?
-----------------

[](#what-is-this-for)

This is a command line tool that allows you to create and manage PHP projects.
It allows you to install a local development environment, without being stricted to your local environment.

A real use-case scenario would be a development agency that has multiple websites with different requirements;
Such as project X with PHP 7.0, MySQL and Solr; but also having project Y with PHP 7.1, and ElasticSearch.
Yet you want to work on these projects simultaneously, without having to switch the FPM instance all the time.

ToDo
----

[](#todo)

What's left To Do?

- Fix MySQL issue where the host of Docker isn't allowed to connect (`Host '172.18.0.1' is not allowed to connect to this MySQL server`)
- Add ElasticSearch
- Add Solr
- Allow Apache or Nginx
- Revamp the entire system, as this was based on a PoC, but extending makes it quite hard...

How to install?
---------------

[](#how-to-install)

1.) First ensure you have the latest php (&gt;= 7.1) installed, preferably the latest stable:

```
brew install php@7.2
```

2.) Also ensure you have composer installed:

```
brew install composer
```

3.) Now install Dockit globally:

```
composer global require jketelaar/dockit
```

### `dockit config`

[](#dockit-config)

This creates a configuration setup for your current project, based on the arguments you give in the CLI.
Simply type in `dockit config` and answer what the CLI requests.

### `dockit start`

[](#dockit-start)

Starts the Docker containers for the current project.

### `dockit stop`

[](#dockit-stop)

Stops the Docker containers for the current project.

### `dockit restart`

[](#dockit-restart)

Restarts the Docker containers for the current project.

### `dockit open`

[](#dockit-open)

Opens the current project in your browser.

### `dockit haproxy`

[](#dockit-haproxy)

Opens the HAProxy in your browser.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3681904?v=4)[Jeroen Ketelaar](/maintainers/JKetelaar)[@JKetelaar](https://github.com/JKetelaar)

---

Top Contributors

[![JKetelaar](https://avatars.githubusercontent.com/u/3681904?v=4)](https://github.com/JKetelaar "JKetelaar (31 commits)")

### Embed Badge

![Health badge](/badges/jketelaar-dockit/health.svg)

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

###  Alternatives

[ryoluo/sail-ssl

Laravel Sail plugin to enable SSL (HTTPS) connection with Nginx.

192739.0k3](/packages/ryoluo-sail-ssl)[sarfraznawaz2005/servermonitor

Laravel package to periodically monitor the health of your server and website.

19613.5k1](/packages/sarfraznawaz2005-servermonitor)[tiamo/phpas2

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

4676.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

116.5k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

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