Announcing Docker for PHP Developers

Published on by

Announcing Docker for PHP Developers image

Over the past year, Laravel News writer Paul Redmond, has been working on a Docker book called Docker for PHP Developers, a hands-on, tutorial style book on using Docker and PHP in development. Today, the book is available for purchase!

There are two options available for purchase at the time of writing, with a screencast bundle in the works:

  • The Book Only$39.99 $29.99 (use offer code “laravel-news” for 25% off)
  • The Starter Bundle $49.99 $39.99 (use offer code “laravel-news” for 25% off)

The book is a 222-page custom, hand-crafted PDF, and includes basic MOBI and ePub formats.

The starter bundle includes the book, plus two starter projects with Docker builds for Laravel and Symfony 4, which are an opinionated example of how to create production-ready Docker images for Laravel, capable of running the web application, a scheduler, and a queue container using the same Docker image build.

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 book, 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 book:

I have had this course in my head for about three years, and started writing about 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.

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

The links included are affiliate links which means if you decide to buy Laravel News gets a little kickback to help run this site.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in:
Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

Laravel Forge logo

Laravel Forge

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Forge
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $7500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit
Laravel Idea for PhpStorm logo

Laravel Idea for PhpStorm

Ultimate PhpStorm plugin for Laravel developers, delivering lightning-fast code completion, intelligent navigation, and powerful generation tools to supercharge productivity.

Laravel Idea for PhpStorm
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $2500/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce
LaraJobs logo

LaraJobs

The official Laravel job board

LaraJobs
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Supercharge Your SaaS Development with FilamentFlow: The Ultimate Laravel Filament Boilerplate logo

Supercharge Your SaaS Development with FilamentFlow: The Ultimate Laravel Filament Boilerplate

Build your SaaS application in hours. Out-of-the-box multi-tenancy and seamless Stripe integration. Supports subscriptions and one-time purchases, allowing you to focus on building and creating without repetitive setup tasks.

Supercharge Your SaaS Development with FilamentFlow: The Ultimate Laravel Filament Boilerplate
JetShip - Laravel Starter Kit logo

JetShip - Laravel Starter Kit

A Laravel SaaS Boilerplate and a starter kit built on the TALL stack. It includes authentication, payments, admin panels, and more. Launch scalable apps fast with clean code, seamless deployment, and custom branding.

JetShip - Laravel Starter Kit
Rector logo

Rector

Your partner for seamless Laravel upgrades, cutting costs, and accelerating innovation for successful companies

Rector
MongoDB logo

MongoDB

Enhance your PHP applications with the powerful integration of MongoDB and Laravel, empowering developers to build applications with ease and efficiency. Support transactional, search, analytics and mobile use cases while using the familiar Eloquent APIs. Discover how MongoDB's flexible, modern database can transform your Laravel applications.

MongoDB

The latest

View all →
Permanent Record Deletion with Laravel's forceDestroy image

Permanent Record Deletion with Laravel's forceDestroy

Read article
DigitalOcean API Client for Laravel image

DigitalOcean API Client for Laravel

Read article
Interactive Console Commands in Laravel image

Interactive Console Commands in Laravel

Read article
Simplified Stream Response Handling in Laravel image

Simplified Stream Response Handling in Laravel

Read article
Television is a Multi-purpose Fuzy Finder TUI image

Television is a Multi-purpose Fuzy Finder TUI

Read article
Handling Process Synchronization with Laravel Cache Locks image

Handling Process Synchronization with Laravel Cache Locks

Read article