Overview
Explore best practices for developing Laravel PHP applications with Docker, Docker Compose, and Kubernetes in this comprehensive live coding session. Join Ciaran McNulty and Alex Bowers as they delve into advanced techniques for PHP applications run with nginx and php-fpm. Learn how to automate npm watchers and database migrations, implement live reload and hot module reload functionality, add database persistence, run tests efficiently, and optimize Dockerfile layers and caching. This session builds upon previous discussions on creating effective development environments with Docker, focusing specifically on the Laravel framework for web artisans. Gain valuable insights and practical knowledge to enhance your PHP development workflow and containerization strategies.
Syllabus
- Holding screen
- Introductions
- Context - What have we done thus far?
- Automating the npm watcher
- Automating database migrations
- Confirming live reload works
- Getting hot module reload working
- Adding database persistence
- Running the tests
- Optimising our Dockerfile layers and caching
Taught by
Rawkode Academy