CI/CD for Laravel Applications: Automate, Optimize and Scale
summary
Shows how to build a robust, scalable CI/CD pipeline for Laravel that actually deploys, with concrete GitHub Actions and GitLab CI configuration files and a live demo app. Covers using GitHub Actions, PHPStan for static analysis, PEST for parallel tests (with seeding and mocking) and a fix adding a MySQL service container when tests ran on SQLite; also includes Pint for linting, Rector for automated refactors/upgrades, Scribe-generated API docs, and links to the repository.
AI-written summary · about
chapters (11)
- 0:00Welcome
- 3:01CI/CD introduction
- 7:47Why adopt CI/CD in 2025
- 13:09Automation workflow tools
- 18:36Static analysis and tests
- 21:21GitHub Actions demo
- 24:47Testing pipelines
- 28:58Avoid false positives
- 31:07External services config
- 33:39Optimizing pipelines
- 35:39Common errors and fixes
related talks
30mAutomate all the things with CI/CD in GitHub Actions
47mGitLab and PHP? It Works! Tips, Tricks and Learnings
43mCI⚡CD: theory put into practice
37mGithub actions for beginners and applied to CakePHP basic projects
01h 00mCI/CD, the Jobtech way
39mRemove your Testing Bottleneck with CI/CD Pipelines
33mSimplified Continuous Integration with Laravel and Jenkins
19mDeploying Laravel Applications with Bitbucket Pipelines
