An opinionated starter template for Craft CMS 5 projects at Webhub.
- Craft CMS 5 – A flexible and powerful CMS
- DDEV – A modern local development environment
- Vite 6 – Lightning-fast frontend tooling
- Tailwind CSS 4 – Utility-first CSS framework
- Vue 3 – Reactive JavaScript framework
Before getting started, ensure you have the following installed:
- Composer
- DDEV
- 1Password CLI (optional but recommended)
Using 1Password CLI allows for automatic installation of Craft CMS. To install it via Homebrew, run:
brew install 1password-cliThen, enable CLI integration in 1Password:
- Open the 1Password Desktop App
- Go to Settings > Developer
- Enable "Integrate with 1Password CLI"
To create a new project using this starter, run:
composer create-project webhubworks/craft5-starter <project-name>
cd <project-name>
ddev startAlternatively, you can create a new repository from this template on GitHub and clone it locally. Then, manually run the setup script:
./scripts/init.sh
ddev startFor better IDE support, configure file associations:
.gitignore.default→ GitIgnore.json.default→ JSON.md.default→ Markdown