Boilerplate-driven development
summary
A Metadrop Drupal boilerplate for new projects that provides a Docker4Drupal-based environment with ready tools: Drush, Behat, Drupal PHPUnit, BackstopJS, optional XDebug, MkDocs, Adminer, and make commands to start projects, run tests and manage containers. It also includes directory structure for tests/config/docs, static code analysis for PHP/JS/YAML/Composer on commit or demand, and uses standard Docker Compose so containers and tool configuration can be adapted; repository: https://github.com/Metadrop/drupal-boilerplate.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 3:03Drupal boilerplate
- 6:11Live demo setup
- 8:01Project structure
- 11:31Key directories
- 13:20Environment files
- 14:26Testing with Behat
- 16:31Behat demo results
- 17:12Visual regression with BackstopJS
- 18:14BackstopJS demo
- 19:59PHPUnit and BehatJS
- 20:40Debugging with Xdebug
- 22:28Static code analysis
- 24:36Documentation with MkDocs
- 26:02Additional tools
- 27:27Make commands
- 28:51New project setup
- 31:19Other boilerplate uses
- 32:43Standardizing workflows
- 35:56Comparison with tools
- 37:18Future improvements
- 38:19Q&A
