Complete Docker Setup for Laravel 11, PHP 8.4, MSSQL, MySQL 9.2, Xdebug, & VS Code Remote Debugging

5 days ago
11

In this video, I’ll show you how to set up a complete Laravel 11 development environment inside Docker, featuring PHP 8.4, MySQL 9.2, MSSQL ODBC Driver 18, and Xdebug — all fully configured for remote debugging with VS Code.

You’ll also learn how to:
Connect both MySQL and MSSQL databases inside Docker
Use VS Code Remote Containers for debugging
Configure JWT authentication in a Laravel project (with sample code provided)
Optimize your Docker setup for PHP and Laravel development
Work with persistent volumes for database storage

This setup is ideal for developers who want a ready-to-run Laravel environment for development, testing, and learning.

Docker hub
https://hub.docker.com/r/edwinwcw/ubuntu

https://github.com/edwinwcw2021/laravel_docker

Loading comments...