Personal boilerplate for Craft CMS projects.
- DDEV Integration for Local Development
- Application Configuration via Environment Variables
- Separate Host/PHP Setup for Control Panel
- Easy Coding Standard Integration for Code Style
- PHPStan Integration for Code Quality
- Application Cache via Redis
- Session Storage via Redis
- Queue Job Storage via Redis
- Various Control Panel Tweaks
- Upsun Configuration
- Vite+ Integration for Frontend Development
- Vue.js Integration for Frontend Development
- UnoCSS Integration for Styling
- Git
- DDEV
- Vite+
- Upsun
prepare configuration
cp .env.development .envstart containers
ddev startinstall dependencies
ddev composer install
ddev vp installbuild frontend
ddev vp buildinstall application
ddev craft installimport data
upsun db:dump -o | ddev import-db
upsun mount:download --app=panel --mount=web/files --target=web/filesopen application
ddev launchURLs
- Frontend: https://craft.ddev.site/
- Panel: https://panel.craft.ddev.site/
- Mails: https://craft.ddev.site:8026/
- UnoCSS Inspector: https://craft.ddev.site:5173/__unocss/
- Vue Development Tools: https://craft.ddev.site:5173/__devtools__/
start server
ddev vp devbuild bundle
ddev vp buildobserve logs
ddev logs --follow