Open Source · MIT License

Lightweight
Laravel Docker

A minimal Docker configuration for Laravel development. No bloat — just PHP 8.5, MySQL 8.3, and Node.js 22 on Alpine Linux.

Why Lara Anchor

Everything you need, nothing you don't.

Built for developers who value speed and simplicity over kitchen-sink starters.

⚡︎

Lightweight

Alpine Linux base images for minimal footprint. Boot in seconds, not minutes.

Focused

No Redis, no Nginx overhead. Just PHP 8.5, MySQL 8.3, and Node.js 22 with pnpm.

Customizable

Need Redis or Nginx? Add them. Full control over your Docker stack with clean defaults.

Live Reload

Volume-mounted project files. Every code change is instantly reflected — no rebuilds.

Profiles

Optional Node.js container via Docker profiles. Enable only when you need asset compilation.

Configurable

Memory limits, database credentials, and ports — all adjustable from a single .env file.

Tech Stack

Modern. Current. Maintained.

Latest stable versions of everything. Always up-to-date.

🐘

PHP 8.5

CLI Server

🗄️

MySQL 8.3

Database

⛰️

Alpine

Base Image

📦

Composer

PHP Deps

🟢

Node 22

pnpm

Quick Start

Up and running in minutes.

One command to install, a few more to have a full Laravel stack running locally.

1

Download & Extract

The install script downloads and extracts the latest template.

curl -s https://lara-anchor.netlify.app/install.sh | bash
2

Configure Environment

Create your .env file with database credentials.

cp .env.example .env
3

Start Containers

Spin up the entire stack.

docker compose up -d
4

Install Dependencies

Get Composer packages and run migrations.

docker compose exec app composer install
docker compose exec app php artisan migrate
5

Start Developing

Your app is now running locally.

http://localhost:8000