$ show lorisleiva/laravel-docker
This repository provides Docker images for Laravel development and CI/CD, with PHP versions 8.3, 8.4, and 8.5. The core artifacts are multi-architecture Dockerfiles that extend official PHP-alpine base images and install a curated set of extensions (Redis, Imagick, Xdebug, etc.) and tools (Composer, Node.js, Yarn, PHP_CodeSniffer, Git, rsync). A GitHub Actions workflow rebuilds images weekly, caching and pushing to DockerHub and GitHub Container Registry. The repo also includes example GitLab CI templates for deploying Laravel applications. It is not a library or framework but a published Docker image build repository, and its main value is providing a standard, pre-configured environment for Laravel projects.
The LLM identified 1 files worth highlighting for reuse:
Represents the current recommended image. Uses the official php:8.5-alpine base, adds mlocati's install-php-extensions script to reliably install a comprehensive set of PHP extensions (gd, intl, pdo_mysql, pdo_pgsql, bcmath, zip, soap, xdebug, imagick, redis, etc.), and global Composer dependencies like php_codesniffer. Also includes Node.js, npm, Yarn, and common system tools. This Dockerfile is a concrete, reusable blueprint for any Laravel CI/CD or development environment, though it is opinionated toward the Laravel stack.