# spatie/docker

> Manage docker containers with PHP

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/docker
- HTML: https://awesomeopensource.dev/project/spatie-docker
- Website: https://spatie.be/open-source
- License: MIT
- Language: PHP
- stars: 489
- Topics: docker, php
- Activity score: 4.2/5 (Active)
- Last commit (any branch): 2026-11-06
- Last release: 1.14.0 2026-11-06

## Description

A PHP package for starting Docker containers and running commands inside them from application or test code. Containers can be configured with port mappings, environment variables, volumes, labels, networks, custom shells and remote Docker hosts, while executed commands return Symfony Process instances with output and exit status. Helper methods add files and SSH public keys, read docker inspect data and extend the container class through macros.

## Maintenance activity

- Recency: 95% (weight 40%) — last commit: 7 days ago
- Commit volume: 56% (weight 25%)
- Releases: 77% (weight 25%) — last release: 7 days ago
- Bug fixes: 90% (weight 10%)
- Commits: 5 / 90d, 10 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
