webhubworks/craft5-starter

A Craft 5 and DDEV based starter project

1.2.2 2025-03-11 13:42 UTC

This package is auto-updated.

Last update: 2025-03-11 13:42:42 UTC


README

An opinionated starter template for Craft CMS 5 projects at Webhub.

Features

  • 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

Requirements

Before getting started, ensure you have the following installed:

Installing 1Password CLI (Optional)

Using 1Password CLI allows for automatic installation of Craft CMS. To install it via Homebrew, run:

brew install 1password-cli

Then, enable CLI integration in 1Password:

  1. Open the 1Password Desktop App
  2. Go to Settings > Developer
  3. Enable "Integrate with 1Password CLI"

Usage

Using the Command Line

To create a new project using this starter, run:

composer create-project webhubworks/craft5-starter <project-name>
cd <project-name>
ddev start

Using This Template

Alternatively, 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 start

Contributing

For better IDE support, configure file associations:

  • .gitignore.default → GitIgnore
  • .json.default → JSON
  • .md.default → Markdown