This project provides a ready-to-use DDEV environment, Craft CMS configuration, and a prebuilt content builder to accelerate development across Craft-based projects.
The Craft Starter Project serves as a baseline for all new Craft CMS projects. It includes a minimal setup with core sections, a content builder, and an optimized DDEV workflow. You can install it directly from Packagist using Composer — cloning the GitHub repository is not required.
Before you begin, make sure you have:
Follow the steps below to create and configure a new Craft CMS project using the starter pack.
mkdir my-craft-site && cd my-craft-siteddev config --project-type=craftcms --docroot=web
ddev startcomposer create-project "developion/craft:dev-master"💡 Always use the Packagist package instead of cloning the GitHub repository.
During installation, the CLI will guide you through:
- Database configuration
- Admin user setup
- Site name and URL
- Initial environment setup
After the installation, open the generated .env file and ensure it includes the following values:
DISALLOW_ROBOTS=true
CP_TRIGGER=admin
ALLOW_ADMIN_CHANGES=true
DEV_MODE=true
ACTION_TRIGGER=actionsThese variables configure the control panel trigger, development mode, and prevent indexing in local environments.
ddev launchYou’ll see a blank homepage — this is expected for a clean starter setup.
https://your-project-name.ddev.site/admin
Login with the credentials you created during the CLI setup.
Once logged in, you can start building your site structure, fields, and templates.
The starter pack comes with a preconfigured Craft setup:
| Area | Description |
|---|---|
| Home Page | Single section ready for customization |
| Pages Channel | Fully working channel for standard pages |
| Content Builder | Includes 6 flexible block types for modular content |
You’re free to add, remove, or modify everything to match your project needs.
When you have installed the project, you also need to install Node modules for asset building.
-
Install Node modules
In the root of your project, run:ddev npm ci
-
Work with CSS
Every time you work with CSS or make frontend changes, run:ddev npm run dev
-
Explore other commands
You can view the rest of the available frontend commands in thegulpfile.jsfile.
craft-starter-project/
├── config/
│ ├── general.php
│ ├── db.php
│ └── routes.php
├── modules/
│ └── app/
├── templates/
│ ├── _layouts/
│ ├── _partials/
│ └── index.twig
├── web/
│ ├── index.php
│ └── cpresources/
├── composer.json
├── gulpfile.js
├── package.json
├── ddev/
└── .env
| Command | Description |
|---|---|
ddev start |
Start the DDEV containers |
ddev stop |
Stop all running DDEV containers |
ddev launch |
Open the site in your default browser |
ddev ssh |
Access the web container shell |
composer install |
Install dependencies |
composer update |
Update dependencies |
ddev npm ci |
Install Node modules |
ddev npm run dev |
Build frontend assets in development mode |
- ⚡ Preconfigured Craft CMS 4+ setup
- 🧱 Content builder with 6 flexible block types
- 🧩 Working Pages channel and Home single section
- 🐳 DDEV-based Docker environment for local development
- 🎨 Frontend build pipeline with npm and Gulp
- 🔐 Ready
.envconfiguration for local or staging environments - 🪶 Lightweight structure — easy to extend or customize
-
GitHub Repository:
https://github.com/developion/craft-starter-project -
Packagist Package:
https://packagist.org/packages/developion/craft
Use the Packagist package to install the latest stable or development version.