PHPackages                             laravel-fans/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. laravel-fans/docker

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

laravel-fans/docker
===================

Full Laravel production environment for Docker

v1.0.0(1y ago)4211.7k—7.1%13[3 issues](https://github.com/laravel-fans/laravel-docker/issues)MITPHPCI failing

Since Sep 1Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/laravel-fans/laravel-docker)[ Packagist](https://packagist.org/packages/laravel-fans/docker)[ RSS](/packages/laravel-fans-docker/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (4)Versions (16)Used By (0)

Laravel Docker
==============

[](#laravel-docker)

[![codecov](https://camo.githubusercontent.com/9c3cfe0ab29217ac58ae825e4172d4ad0cedad8c53e769360534b54c9b4a2e4c/68747470733a2f2f636f6465636f762e696f2f67682f6c61726176656c2d66616e732f6c61726176656c2d646f636b65722f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/laravel-fans/laravel-docker)[![Packagist Downloads](https://camo.githubusercontent.com/d0d66d9191836e7b181cc044d21fe6cc8aa0848fd084d4459b660ddc69bae023/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d66616e732f646f636b6572)](https://packagist.org/packages/laravel-fans/docker)[![Docker Pulls](https://camo.githubusercontent.com/bca4bde2ba1948c896c259d7f9ca4af0cf0225bae635b19a547f961854565619/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f70756c6c732f6c61726176656c66616e732f6c61726176656c)](https://hub.docker.com/r/laravelfans/laravel)[![Laravel 11](https://github.com/laravel-fans/laravel-docker/workflows/Laravel%2011/badge.svg)](https://github.com/laravel-fans/laravel-docker/actions/workflows/laravel-11.yml)[![Laravel 12](https://github.com/laravel-fans/laravel-docker/workflows/Laravel%2012/badge.svg)](https://github.com/laravel-fans/laravel-docker/actions/workflows/laravel-12.yml)

Full Laravel production and development environment for Docker, based on the official image `php:apache`.

development or testing
----------------------

[](#development-or-testing)

It is recommended to use this docker image in your testing environment(amd64 or arm64, support Apple silicon), it contains git/jq/vim/nodejs/npm, and php extensions: gd/mysql/pgsql/redis/xdebug.

```
docker run -p 8000:80 -v $(pwd):/var/www/laravel laravelfans/laravel:12-dev
docker run -v $(pwd):/var/www/laravel -it laravelfans/laravel:12-dev bash
```

production
----------

[](#production)

It is recommended to use `Dockerfile` to build your own docker image in your production environment.

```
composer require --dev laravel-fans/docker
php artisan docker:publish
```

Then you will find `Dockerfile` in your project, so you can build:

```
docker build -t laravel-demo .
docker run -it laravel-demo
docker run -p 8000:80 -e "APP_ENV=local" -e "DB_CONNECTION=sqlite" \
  -e "APP_KEY=base64:L+3avOYCfuq8nnDpHs74+5Et3sx27TssucHQIyqfpDY=" \
  -it laravel-demo

```

Feel free to change the `Dockerfile`.

screenshots
-----------

[](#screenshots)

[![docker run laravel](https://user-images.githubusercontent.com/4971414/126929099-20fee54e-89e8-4d52-8c04-41eeab7ede2d.png)](https://user-images.githubusercontent.com/4971414/126929099-20fee54e-89e8-4d52-8c04-41eeab7ede2d.png)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance67

Regular maintenance activity

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.6% 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 ~109 days

Recently: every ~268 days

Total

15

Last Release

594d ago

Major Versions

v0.6.1 → v1.0.02024-11-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/277601527?v=4)[sinkcup](/maintainers/sinkcup)[@sinkcup](https://github.com/sinkcup)

---

Top Contributors

[![shaunthegeek](https://avatars.githubusercontent.com/u/4971414?v=4)](https://github.com/shaunthegeek "shaunthegeek (70 commits)")[![zoulux](https://avatars.githubusercontent.com/u/9365514?v=4)](https://github.com/zoulux "zoulux (1 commits)")

---

Tags

composerdockerlaravel

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/laravel-fans-docker/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-fans-docker/health.svg)](https://phpackages.com/packages/laravel-fans-docker)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)[provydon/laravel-scale

Scale your Laravel app. A set of libraries: Laravel Octane (FrankenPHP), Docker, and a stateless web + worker setup for Render, Fly.io, Railway.

201.8k](/packages/provydon-laravel-scale)

PHPackages © 2026

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