Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Docker Laravel Package

laravel-fans/docker

A Docker-based development environment for Laravel, helping you spin up consistent PHP, database, and service containers for local development with minimal setup and easy configuration.

View on GitHub
Deep Wiki
Context7

Full Laravel production environment for Docker

Frequently asked questions about Docker
What is laravel-fans/docker and what problem does it solve?
It is a Docker-based Laravel environment intended to provide PHP, database, and supporting service containers with consistent configuration. The technical assessment recommends treating it as a reference stack rather than a runtime library, because it helps teams standardize local-to-production container parity. It is most useful when you want a starting point for Laravel Dockerfiles and Compose configuration without building every service from scratch.
How do I install or integrate laravel-fans/docker into an existing Laravel app?
Do not adopt it as a normal Composer runtime dependency; the assessment recommends vendoring or forking the Dockerfiles and Compose/configuration into your repository. Copy the environment into a non-production branch, then adapt environment variables, PHP extensions, Laravel version constraints, storage permissions, queue workers, and secrets. Validate the build and runtime behavior before rolling it into CI or staging.
Which Laravel and PHP versions does laravel-fans/docker support?
The provided context does not list supported Laravel or PHP versions, and the assessment flags stale base images as a maintenance risk. Inspect the Dockerfiles and Composer platform requirements, then pin explicit PHP image tags and Laravel-compatible dependencies. Test your application's required extensions and packages against those pins before adopting the setup.
Is laravel-fans/docker safe to use in production?
Not out of the box. The assessment describes it as a reference Docker environment with low community validation and zero dependents, and it calls out maintenance uncertainty, opinionated defaults, and missing production hardening as risks. You can use it as a starting point, but production adoption requires security scanning, non-root containers, secret injection, health checks, observability, TLS, and proven rollback paths.
Can I use laravel-fans/docker only for local development and CI?
Yes, local development and CI are the strongest fit because the environment is designed to standardize PHP, database, and service containers with minimal setup. Pilot it in a non-production branch and compare it with your current local and CI workflows. Keep the original pinned or forked, and migrate local development first, then CI, then staging.
What services and containers are included in the Laravel Docker environment?
The assessment describes a typical Laravel stack likely including PHP-FPM, Nginx, a database, and cache or queue services, but the exact Compose services are not documented in the provided context. Inspect the repository's Compose file and Dockerfiles before assuming which containers, volumes, and networks are included. Confirm database drivers, Redis usage, and any optional workers against your application requirements.
How do I add PHP extensions or change the Laravel version in the Docker setup?
Edit the relevant Dockerfile or build arguments to install the PHP extensions your application needs, and update Composer platform requirements if you change PHP versions. Keep image tags pinned, rebuild the containers, and test Laravel's database drivers, filesystem permissions, and Node build steps. Commit the customized configuration into your own repository rather than relying on upstream defaults.
Does laravel-fans/docker include queue workers, scheduler, migrations, and health checks?
Do not assume these production concerns are handled by default. The assessment explicitly asks whether health checks, queue and scheduler separation, database migrations, non-root containers, and secret injection are addressed. Review the Compose and Docker configuration, then add separate worker and scheduler services, startup migration jobs, health checks, and readiness probes as needed.
Can laravel-fans/docker run on ARM or deploy to Kubernetes and cloud container platforms?
It is less suitable for teams already standardized on Kubernetes, managed container platforms, or an internal platform unless you use it only as a configuration reference. The environment can still inform your Dockerfiles, but validate ARM support, cloud networking, TLS termination, persistent storage, and secret management against your target runtime. Expect customization before any staging or production deployment.
How should I maintain and secure a forked laravel-fans/docker setup long term?
Once vendored, the environment becomes an internally owned template, so assign a named owner and budget periodic reviews. Pin base images and dependencies, run vulnerability scanning, build images in CI, track PHP and Laravel security advisories, and maintain an upgrade cadence. Do not rely on the original repository for an SLA, because the assessment describes community-only support and limited external testing.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect