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

ActiveLibrary

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 today

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 14% 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://www.gravatar.com/avatar/e997e2383542b8d16efaa4fbdda57bc6309ae4b62ae624bd345fa78a45ba2651?d=identicon)[JKetelaar](/maintainers/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)
```

PHPackages © 2026

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