PHPackages                             loonpwn/laradock-cli - 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. [Framework](/categories/framework)
4. /
5. loonpwn/laradock-cli

ActiveLibrary[Framework](/categories/framework)

loonpwn/laradock-cli
====================

Laradock CLI is a tool for Laravel projects which automates the docker configuration setup for services, amongst other things.

0.4.5(6y ago)16181[1 issues](https://github.com/loonpwn/laradock-cli/issues)[1 PRs](https://github.com/loonpwn/laradock-cli/pulls)MITDockerfilePHP ^7.1.3CI passing

Since Apr 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/loonpwn/laradock-cli)[ Packagist](https://packagist.org/packages/loonpwn/laradock-cli)[ Docs](https://github.com/loonpwn/laradock-cli)[ RSS](/packages/loonpwn-laradock-cli/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (7)Versions (13)Used By (0)

 [![](https://github.com/loonpwn/laradock-cli/raw/master/assets/images/laradock-cli-logo.png "Laradock CLI")](https://github.com/loonpwn/laradock-cli/raw/master/assets/images/laradock-cli-logo.png)

⚠️ This project is no longer maintined or actively developed. Feel free to fork it and play around if you're interested in the idea.

[![Total Downloads](https://camo.githubusercontent.com/e95c663258fbbcb5d9b4a60ff0f6f7e053cd35a468c88f57e5d896cf442114f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6c6f6f6e70776e2f6c617261646f636b2d636c692e7376673f7374796c653d666c6174)](https://packagist.org/packages/loonpwn/laradock-cli)[![Total Downloads](https://camo.githubusercontent.com/eea689db9a768dd06a47e09825003eef51ffdf5675a940ee3dd1190e7da54a7d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6f6e70776e2f6c617261646f636b2d636c692e7376673f7374796c653d666c6174)](https://packagist.org/packages/loonpwn/laradock-cli)[![StyleCI](https://camo.githubusercontent.com/f337c3688f5b7a2926651b9e7c3adfba622c7b586251e5131125ff185bb2d3c0/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3137343931393631302f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/174919610)

Laradock CLI is a tool for Laravel projects which automates the docker configuration setup for services, amongst other things.

It is built with [Laravel Zero](https://laravel-zero.com/), on top of [Laradock](https://laradock.io/).

Features
--------

[](#features)

#### Zero Configuration Docker

[](#zero-configuration-docker)

Laradock CLI reads your `.env` and makes smart assumptions to reduce a lot of boilerplate configuration. Some examples:

- Checks your driver settings and recommends which services are applicable
- Fixes User and Group IDs
- Checks for package.json before installing node in workspace
- Checks your CLI php version for which php version to use
- Modifies the apache2/nginx vhost site URL
- Sets up your MySQL service with a database

#### Clean project

[](#clean-project)

Laradock tends to have a larger footprint for the amount of code you use in your repository, Laradock CLI aims to fix this my only including the files for the services you are using.

#### Clean .env

[](#clean-env)

All docker environment variables have been moved to their own `.env.laradock` file. No longer have a 300 line .env file.

#### Easier Maintenance

[](#easier-maintenance)

Simple command to add or remove services, Laradock CLI takes care of all the heavy lifting of setting up files, updating configuration, etc.

#### Much More

[](#much-more)

This project is in early development and has lots of planned updates coming.

---

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

[](#installation)

### Phar

[](#phar)

```
wget https://github.com/loonpwn/laradock-cli/releases/download/0.4.5/laradock
chmod +x ./laradock
```

*Recommended: `sudo mv laradock /usr/bin/laradock`*

Usage
-----

[](#usage)

1. `laradock install` Run the setup tool
2. Check the `.env.laradock` and the files within `./env/docker` has the correct configuration for your project.
3. `laradock` Build and run the containers and then mount to the workspace container.

Alpha Considerations
--------------------

[](#alpha-considerations)

Currently the following services have been setup to be automatically configured. If you use a service outside this list you will need to manually set it up per [Laradock documentation](https://laradock.io/).

- Workspace
- PHP-FPM
- Nginx
- Apache2
- MySQL
- MariaDB
- PHPMyAdmin
- Postgres
- PGAdmin

Documentation
-------------

[](#documentation)

### Laradock Commands

[](#laradock-commands)

- `laradock`This will start docker with `docker-compose up -d` and then mount you on the workspace container.
- `laradock install`An interactive guide for setting up your project with Laradock CLI.
- `laradock status`See which services you're currently using
- `laradock services`List all Laradock services
- `laradock add `Add a specific service.
- `laradock remove `Remove a specific service.
- `laradock workspace`Mounts yourself to the workspace container as Laradock user.
- `laradock uninstall`Remove the Laradock CLI files from your project.

### DockerCompose Commands

[](#dockercompose-commands)

- `laradock up`Runs `docker-compose up -d` with the `.env.laradock` loaded in.
- `laradock down`Runs `docker-compose down` with the `.env.laradock` loaded in.
- `laradock build`Runs `docker-compose build` with the `.env.laradock` loaded in.
- `laradock restart`Runs `docker-compose restart` with the `.env.laradock` loaded in.
- `laradock push`Runs `docker-compose push` with the `.env.laradock` loaded in.
- `laradock exec`Runs `docker-compose exec` with the `.env.laradock` loaded in.
- `laradock ps`Runs `docker-compose ps` with the `.env.laradock` loaded in.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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 ~10 days

Recently: every ~0 days

Total

10

Last Release

2534d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c3cc9c67bbfb11d56dbe8aff65500444b1b17cd3f6dcaab17b3235a5691f65a?d=identicon)[harlan-zw](/maintainers/harlan-zw)

---

Top Contributors

[![harlan-zw](https://avatars.githubusercontent.com/u/5326365?v=4)](https://github.com/harlan-zw "harlan-zw (135 commits)")

---

Tags

laradocklaravelcliconsoleframeworklaravellaravel-zerolaradock

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/loonpwn-laradock-cli/health.svg)

```
[![Health](https://phpackages.com/badges/loonpwn-laradock-cli/health.svg)](https://phpackages.com/packages/loonpwn-laradock-cli)
```

###  Alternatives

[laravel-zero/framework

The Laravel Zero Framework.

3491.5M419](/packages/laravel-zero-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[laravel-zero/laravel-zero

The Laravel Zero Framework.

4.0k43.9k3](/packages/laravel-zero-laravel-zero)

PHPackages © 2026

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