PHPackages                             castor-php/docker - 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. castor-php/docker

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

castor-php/docker
=================

Castor plugin for docker

054PHPCI passing

Since Jan 5Pushed 1mo agoCompare

[ Source](https://github.com/castor-php/docker)[ Packagist](https://packagist.org/packages/castor-php/docker)[ RSS](/packages/castor-php-docker/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Castor Docker Plugin
====================

[](#castor-docker-plugin)

A powerful Castor plugin that simplifies Docker-based development environments for PHP applications. This plugin automatically generates Docker Compose configurations and provides tasks to manage your infrastructure.

Features
--------

[](#features)

- 🚀 Automatic Docker Compose configuration generation
- 🔧 Pre-configured services for common infrastructure components
- 🎯 Service-specific tasks for common operations
- 🔒 SSL certificate generation (with mkcert support)
- 🌐 Traefik-based reverse proxy with automatic routing
- 📦 Multi-stage Docker builds with registry caching
- 👥 Multi-application support in a single project

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

[](#installation)

Add this plugin to your Castor project using Composer:

```
castor composer require castor-php/docker
```

Quick Start
-----------

[](#quick-start)

1. Create a `castor.php` file in your project root:

```
