PHPackages                             clntdev/servd - 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. [CLI &amp; Console](/categories/cli)
4. /
5. clntdev/servd

ActiveProject[CLI &amp; Console](/categories/cli)

clntdev/servd
=============

Docker PHP Development Environment

1.1.1(2y ago)252MITPHPPHP ^8.1

Since Mar 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/clnt/servd)[ Packagist](https://packagist.org/packages/clntdev/servd)[ RSS](/packages/clntdev-servd/feed)WikiDiscussions production Synced 1mo ago

READMEChangelogDependencies (10)Versions (17)Used By (0)

ServD
=====

[](#servd)

[![Stable Build](https://camo.githubusercontent.com/ec11410fc641f28c5e302c068a0cdcd74a9f78fac96ffa0dae44bcda30139467/68747470733a2f2f706f7365722e707567782e6f72672f636c6e746465762f73657276642f76657273696f6e)](https://packagist.org/packages/clntdev/servd)[![CI Status](https://github.com/clnt/servd/actions/workflows/.github-actions.yml/badge.svg)](https://github.com/clnt/servd/actions)[![Code Coverage](https://camo.githubusercontent.com/f02a4d942305fced5bee32140e9f924c92373e86f769d7c3b730d08fcc33b2bf/68747470733a2f2f636f6465636f762e696f2f67682f636c6e742f73657276642f6272616e63682f70726f64756374696f6e2f67726170682f62616467652e7376673f746f6b656e3d58443554473934304556)](https://codecov.io/gh/clnt/servd)

ServD is a Docker PHP development environment heavily inspired by Laravel Valet and Laradock, it supports multiple projects within a working directory and primarily runs on \[Alpine Linux\](). In its current form, it installs the majority of PHP Extensions available, including xdebug which currently adds slower performance than expected. This will change and these extensions will be able to be toggled in a future release.

It offers PHP, Node.js, Database Software, Elasticsearch and PHP Composer version selection making it easy to change the environment to suit your needs.

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

[](#installation)

Install via composer globally by running `composer global require clntdev/servd` - once this has finished type `servd` into the CLI and ensure it returns a list of commands.

- Run the `servd install` command to setup required services and generate the `.servd` folder which will be located within the user home directory.
- Run the `servd start` command after completing the installation steps, this will pull/build images and then start up the configured services.

Commands
--------

[](#commands)

List of commands:

`servd install`

- Creates sqlite database
- Prompt for preferred options such as PHP version/Node Version and Composer Version
- Prompt for confirmation of working directory, choose current directory or full path can be specified

`servd set:timezone`

- Set the timezone to be used by PHP and the core docker container
- This must be a valid IANA Timezone such as Europe/London, America/New\_York etc
- The default timezone is UTC

`servd start`

- Start docker containers

`servd stop`

- Stop docker containers

`servd restart`

- Restart docker containers
- Rebuild docker images with optional `--rebuild` flag

`servd rebuild`

- Rebuild docker containers
- Update images with optional `--update` flag
- Rebuild/Update a specific container by specifying name as an argument: `servd rebuild mysql`

`servd configure`

- Regenerates configuration files and directory structures

`servd use x.x`

- Stops containers
- Switch PHP version to specified (7.4, 8.0, 8.1 supported)
- Rebuilds configuration and docker containers
- Starts docker containers

`servd secure`

- Generates certificates and configures the current project for HTTPS, rebuilding config files and restarting services
- Note: You will need to ensure the created `servdCA.crt` CA is trusted by your machine

`servd unsecure`

- Removes existing certificate files for a project and marks it as non secure, rebuilding config files and restarting services

`servd secure:trust`

- **macOS (requires sudo)** - this command will attempt to add the CA certificate generated to the system
- **Linux &amp; Windows Users** - you will need to manually add the `servdCA.crt` certificate authority file to your computer's certificate store

> **Note for Firefox users:** You may need to trust the `servdCA.crt` file manually by importing it into Firefox's own certificate store (if site is secure in OS browser but not in Firefox then this is likely the reason why)

`servd park`

- Adds/Changes the project directory to the current directory

`servd run "{command}"`

- Run given command in docker container using current directory name as project directory name, remember to wrap command in quotes if more than one word i.e. `servd run "php artisan cache:clear"`

`servd cli {container(optional)}`

- Open an interactive shell into the given container or the `servd_core` container by default if none specified

Supported Drivers
-----------------

[](#supported-drivers)

- Laravel
- Wordpress
- Drupal
- GenericHtml (basic config)
- GenericPhp (basic config with php-fpm)

Other
-----

[](#other)

Built with [Laravel Zero](https://laravel-zero.com/)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Every ~57 days

Recently: every ~165 days

Total

14

Last Release

771d ago

PHP version history (2 changes)1.0.0-betaPHP ^7.4|^8.0

1.1.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![clnt](https://avatars.githubusercontent.com/u/19330442?v=4)](https://github.com/clnt "clnt (39 commits)")

---

Tags

cliconsoledockerservdvaletlocaldev

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/clntdev-servd/health.svg)

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

###  Alternatives

[tightenco/takeout

Manage your dev dependencies with simple one-off Docker containers.

1.6k20.9k](/packages/tightenco-takeout)[bitfumes/laravel-packer

Awesome Command Line Tool for speeding up your package creation.

4391.3k](/packages/bitfumes-laravel-packer)

PHPackages © 2026

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