The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech Leads28-29 May

Join

Laradock Logo

contributions welcome GitHub forks GitHub issues GitHub stars GitHub CI GitHub license

Full PHP development environment based on Docker.

forthebadge



Use Docker First - Learn About It Later!

Overview

Laradock is a full PHP development environment for Docker. It ships pre-configured, ready-to-use containers for everything a PHP application needs (Nginx, PHP-FPM, MySQL, PostgreSQL, Redis, and many more), so you can launch a complete local stack in seconds without any manual setup.

It works with any PHP project and behaves the same on Linux, macOS, and Windows.

Quick Start

Set up a demo stack with PHP, NGINX, MySQL, Redis and Composer:

1 - Clone Laradock inside your PHP project:

git clone https://github.com/Laradock/laradock.git

2 - Enter the laradock folder and rename .env.example to .env.

cp .env.example .env

3 - Run your containers:

docker-compose up -d workspace nginx mysql redis

4 - Open your project's .env file and set the following:

DB_HOST=mysql
REDIS_HOST=redis
QUEUE_HOST=beanstalkd

5 - Open your browser and visit localhost: http://localhost.

Done.

Works With

Laradock provides the PHP runtime, web server, databases, and background services your app needs, so it runs virtually any PHP framework, CMS, or e-commerce platform:

…or plain, framework-free PHP.

Key Features

The Workspace: Your All-in-One Dev Shell

A command line preloaded with PHP, Composer, Node, Git, and dozens of dev tools, so you run every command your project needs inside it and install nothing on your own machine.

Enter it and work from there:

docker-compose exec workspace bash

artisan, composer, phpunit, npm, and git all just work, with nothing installed on your host: no PHP, no Composer, no Node, no version conflicts. Stop the project and zero traces are left on your device.

Why it's a big deal:


Laradock Documentation


Awesome People

Laradock is an MIT-licensed open source project with its ongoing development made possible entirely by the support of you and all these awesome people. 💜

Project Maintainers


Mahmoud Zalt
@mahmoudz

Bo-Yi Wu
@appleboy

Philippe Trépanier
@philtrep

Mike Erickson
@mikeerickson

Dwi Fahni Denni
@zeroc0d3

Thor Erik
@thorerik

Winfried van Loon
@winfried-van-loon

TJ Miller
@sixlive

Yu-Lung Shao (Allen)
@bestlong

Milan Urukalo
@urukalo

Vince Chu
@vwchu

Huadong Zuo
@zuohuadong

Lan Phan
@lanphan

Ahkui
@ahkui

< Join Us >
@laradock

Code Contributors

Laradock Contributors

Financial Contributors (Backers)

Open Collective backers

Contact

Have a question, found a problem, or need something? mahmoud@zalt.me

For security vulnerabilities, see SECURITY.md.

Sponsors

Sponsoring is an act of giving in a different fashion. 🌱

Diamond Sponsors

Sistava - Hire AI Employees to Run Your Business.Apiato - A powerful PHP framework for building scalable, enterprise-grade APIs!

Gold Sponsors

Silver Sponsors

Silver Sponsors

Sista AI - AI Workforce platform.

Bronze Sponsors

Bronze Sponsors

Translations

License

MIT © Mahmoud Zalt

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.