Since the release of his book in January, Laravel News writer Paul Redmond, has been working on a Docker for PHP Developers video course, a hands-on, tutorial style book + videos on using Docker and PHP in development.
Today, the Docker for PHP Developers video course is available for purchase!
There are two options available for purchase at the time of writing for the new screencast bundle with a discount for Laravel News readers:
- The Complete Video Bundle –
$139$99 (use offer code “laravelnews” for 30% off)
- The Video-only Bundle
$99$79 (use offer code “laravelnews” for 20% off)
Here’s a preview video from the course – Automating Docker Builds with GitLab CI:
The Starter Video Bundle includes the first 36 videos (4.5 hours of content) that cover the following:
- Installing Docker on Mac, Windows, and Linux
- Docker PHP Basics
- LAMP Setup
- Working with PHP Composer and Private PHP Packages
- Configuring Web servers like Apache, Nginx, and Caddy
- Wrangling Dependencies and Working with Legacy Apps in Docker
- Customizing Docker Startup Commands
- Working with Docker registries – Including Docker Hub and GitLab
- Automating Docker builds on Docker Cloud
- Automating Docker builds with GitLab CI
In addition to the Starter Video Bundle content, the Complete Video Bundle offers a complete walk-through on working with Docker and Laravel (3 hours of content):
- Getting Started with Docker and Laravel
- Copying files into a Docker image
- Configuring Apache Vhosts with Docker
- Configuring mod_rewrite
- Automating application setup and workflow with Docker Compose
- Configuring a MySQL service
- Configuring a Redis service for Sessions, Caching, and Queues
- Using volumes for Instant Code Changes
- Docker and XDebug Setup
- Building a flexible XDebug setup with per-developer Environment configuration
- Customizing the docker CMD in a Laravel project
- Running the Laravel Scheduler and Queue Worker in Docker
- Configuring PHP.ini files
- Flexible Opcache configuration for both development and production
- Using Nginx with Laravel
- Automated Builds with GitLab CI and Laravel
- A complete GitLab CI pipeline to build Laravel Composer packages and frontend assets
According to Paul, this course is an efficient way to learn the ins and outs of Docker development—using a familiar language (PHP)—without the pain of learning it all on your own.
Learn concepts that can get a little confusing to newcomers:
- How to organize your projects with Docker configuration files
- How to manage containers (start, stop, remove, etc.)
- How to install PHP Composer packages (including private packages)
- How to configure Xdebug and profiling
- How to retrofit Docker with a legacy project
- How to automate Docker builds
- How to orchestrate multiple services like Redis and MySQL
- How to work with volumes for a quick development workflow
- How to deploy Docker images
This book is fit for beginners and intermediates, but could also be useful to more experienced Docker users wanting to compare/contrast different techniques for using Docker with PHP projects.
As you go through the course, you will set up multiple projects and manage Docker containers, which means that you’ll get plenty of wrench time using Docker with PHP frameworks.
Paul had this to say about his video course and book:
I have had this course in my head for about three years and started writing about a year ago. The course is a culmination of everything I’ve learned building numerous Docker projects for PHP development. You will learn how to build a LAMP application from scratch, and then move on to configuring development tools, automating project image builds, and finally to deploying applications.
One of my favorite chapters to write was on using Docker with legacy projects. Although the goal is to keep projects updated, we’ve all had those legacy projects in our lives. Docker is a great way to streamline your legacy environment so you can start the upgrade process and run older apps more consistently while you begin upgrading.
Both video bundles include Paul’s Docker for PHP Developers book. Here’s the full chapter outline of the book:
- Chapter 1: Introduction to Docker
- Chapter 2: PHP Container Basics
- Chapter 3: LAMP with Docker
- Chapter 4: Development Tools
- Chapter 5: Composer PHP
- Chapter 6: PHP-FPM and Webservers
- Chapter 7: Chapter 7 Legacy PHP Applications
- Chapter 8: Custom Commands
- Chapter 9: Docker Registry Builds
- Chapter 10: Deploying Docker
Be sure to use the code “laravelnews” at checkout to receive the discount:
The links included are affiliate links which means if you decide to buy Laravel News gets a little kickback to help run this site.