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)4311.3k—10%13[3 issues](https://github.com/laravel-fans/laravel-docker/issues)MITPHPCI passing

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 1mo 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

48

—

FairBetter than 95% of packages

Maintenance65

Regular maintenance activity

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

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

548d ago

Major Versions

v0.6.1 → v1.0.02024-11-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/89ddc639897087464ea88b1e5481834d86fe581c94a2333cfe2778a4e93b65bd?d=identicon)[sinkcup](/maintainers/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

[slimkit/plus

The Plus(ThinkSNS+) is a powerful, easy-to-develop social system built with Laravel.

2.2k2.4k](/packages/slimkit-plus)[downtoworld/laravel-devops

Laravel Cloudflare-Tunnels Ready Production Docker-Compose

161.1k](/packages/downtoworld-laravel-devops)

PHPackages © 2026

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