PHPackages                             onedarnleyroad/craftcms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. onedarnleyroad/craftcms

ActiveProject[DevOps &amp; Deployment](/categories/devops)

onedarnleyroad/craftcms
=======================

Craft CMS

3.0.1(3y ago)7667721[8 issues](https://github.com/onedarnleyroad/craftcms/issues)[2 PRs](https://github.com/onedarnleyroad/craftcms/pulls)0BSDTwig

Since Nov 21Pushed 10mo ago9 watchersCompare

[ Source](https://github.com/onedarnleyroad/craftcms)[ Packagist](https://packagist.org/packages/onedarnleyroad/craftcms)[ Docs](https://craftcms.com/)[ RSS](/packages/onedarnleyroad-craftcms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (34)Used By (0)

About onedarnleyroad/craftcms
-----------------------------

[](#about-onedarnleyroadcraftcms)

A Craft CMS starter project using DDEV for local hosting and Vite for front-end bundling and HMR.

> 1DR.Starter.Project.mp4    ☝️ A 1-min video demo, going from zero to Vite HMR on a fresh Craft install, with only 3 CLI commands:
>
> 1. `composer create-project...`
> 2. `make install`
> 3. `make dev`

Notable Features:
-----------------

[](#notable-features)

- [DDEV](https://ddev.readthedocs.io/) for local development
- [Vite 5.x](https://vitejs.dev/) for front-end bundling &amp; HMR
- [Tailwind 3.x](https://tailwindcss.com) for utility-first CSS
- [Alpine 3.x](https://alpinejs.dev/) for lightweight reactivity
- [Servd](https://servd.host/) as the default hosting environment
- [Postmark](https://postmarkapp.com/) for email delivery
- [Makefile](https://www.gnu.org/software/make/manual/make.html) for common CLI commands

Local machine prerequisites:
----------------------------

[](#local-machine-prerequisites)

1. [Docker](https://www.docker.com/)
2. [DDEV](https://ddev.readthedocs.io/), minimum version 1.19
3. Optional but recommended, [Composer](https://getcomposer.org/)

Getting Started
---------------

[](#getting-started)

### Option 1: With Composer (recommended)

[](#option-1-with-composer-recommended)

If you have [Composer](https://getcomposer.org/) installed on your local machine, you can use `create-project` to pull the latest tagged release.

Open terminal prompt, and run:

```
composer create-project onedarnleyroad/craftcms PATH --no-install
```

Make sure that `PATH` is a **new** or **existing and empty** folder.

### Option 2: With Git CLI

[](#option-2-with-git-cli)

Alternatively you can clone the repo via the Git CLI:

```
git clone git@github.com:onedarnleyroad/craftcms.git PATH
```

Make sure that `PATH` is a **new** *or* **existing and empty** folder.

Next, you'll want to discard the existing `/.git` directory. In the terminal, run:

```
cd PATH
rm -rf .git
```

Last, clean up and set some default files for use:

```
cp .env.example .env
mv -f composer.json.default composer.json
mv -f .gitignore.default .gitignore
rm CHANGELOG.md && rm LICENSE.md && rm README.md
```

### Option 3: Manual Download

[](#option-3-manual-download)

Download a copy of the repo to your local machine and move to where you want to your project to run. Similar to above, you'll then want to clean up and set some default files for use. In the terminal, run:

```
cd PATH
cp .env.example .env
mv -f composer.json.default composer.json
mv -f .gitignore.default .gitignore
rm CHANGELOG.md && rm LICENSE.md && rm README.md
```

Configuring DDEV
----------------

[](#configuring-ddev)

*Note: This section is optional. If you are simply test-driving this project, feel free to skip to the next section. ⚡*

To configure your project to operate on a domain other than `https://craftcms.ddev.site`, run:

```
ddev config
```

Follow the prompts.

- **Project name:** e.g. `mysite` would result in a project URL of `https://mysite.ddev.site` (make note of this for later in the installation process)
- **Docroot location:** defaults to `web`, keep as-is
- **Project Type:** defaults to `php`, keep as-is

Installing Craft
----------------

[](#installing-craft)

To install a clean version of Craft, run:

```
make install
```

Follow the prompts.

This command will:

1. Copy your local SSH keys into the container (handy if you are setting up [craft-scripts](https://github.com/nystudio107/craft-scripts/))
2. Start your DDEV project
3. Install Composer
4. Install npm
5. Do a one-time build of Vite
6. Generate `APP_ID` and save to your `.env` file
7. Generate `SECURITY_KEY` and save to your `.env` file
8. Installing Craft for the first time, allowing you to set the admin's account credentials
9. Install all Craft plugins

Once the process is complete, type `ddev launch` to open the project in your default browser. 🚀

Local development with Vite
---------------------------

[](#local-development-with-vite)

To begin development with Vite's dev server &amp; HMR, run:

```
make dev
```

This command will:

1. Copy your local SSH keys into the container (handy if you are setting up [craft-scripts](https://github.com/nystudio107/craft-scripts/))
2. Start your DDEV project
3. Install Composer
4. Install npm
5. Do a one-time build of Vite
6. Spin up the Vite dev server

Open up a browser to your project domain to verify that Vite is connected. Begin crafting beautiful things. ❤️

Makefile
--------

[](#makefile)

A Makefile has been included to provide a unified CLI for common development commands.

- `make install` - Runs a complete one-time process to set the project up and install Craft.
- `make up` - Starts the DDEV project, ensuring that SSH keys have been added, and npm &amp; Composer have been installed.
- `make dev` - Runs a one-time build of all front-end assets, then starts Vite's server for HMR.
- `make build` - Builds all front-end assets.
- `make pull` - Pull remote db &amp; assets (requires setting up [craft-scripts](https://github.com/nystudio107/craft-scripts/)

Craft CMS Plugins
-----------------

[](#craft-cms-plugins)

1. [CKEditor](https://plugins.craftcms.com/ckeditor)
2. [CP Field Inspect](https://plugins.craftcms.com/cp-field-inspect)
3. [Craft Autocomplete](https://github.com/nystudio107/craft-autocomplete)
4. [Hyper](https://plugins.craftcms.com/hyper)
5. [Knock Knock](https://plugins.craftcms.com/knock-knock)
6. [Postmark](https://plugins.craftcms.com/postmark)
7. [Seomatic](https://nystudio107.com/docs/seomatic/)
8. [Servd Assets and Helpers](https://github.com/servdhost/craft-asset-storage)
9. [Vite](https://github.com/nystudio107/craft-vite)

Tailwind Plugins
----------------

[](#tailwind-plugins)

1. [Aspect Ratio](https://github.com/tailwindlabs/tailwindcss-aspect-ratio)
2. [Line Clamp](https://github.com/tailwindlabs/tailwindcss-line-clamp)
3. [Typography](https://github.com/tailwindlabs/tailwindcss-typography)

Javascript Libraries
--------------------

[](#javascript-libraries)

1. [AlpineJS](https://alpinejs.dev/)
2. [Lazysizes](https://afarkas.github.io/lazysizes/)

Roadmap
-------

[](#roadmap)

- Continue to improve docs
- Bugfixes, new features

Acknowledgements &amp; Credits
------------------------------

[](#acknowledgements--credits)

Aside from the obvious gratitude owed to the entire team at [Pixel &amp; Tonic](https://pixelandtonic.com/) for their tireless work on Craft, a special thanks goes out to Andrew Welch of [nystudio107](https://nystudio107.com/). Not only has he developed some of the most widely used plugins in the Craft ecosystem, he has dedicated countless time and energy to pushing all of us in the community to excel at everything we do. He has an uncanny ability to see through the fog of development war to know what's best - not just for us, but for our future selves, our clients, and the users of the sites we build. His contributions have made all of our sites perform better in SEO, run faster in the browser, and made our development workflow more streamlined and efficient. Hats off to you, sir.

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 93.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~69 days

Recently: every ~127 days

Total

24

Last Release

1136d ago

Major Versions

1.6.0 → 2.0.02021-06-22

2.3.1 → 3.0.02023-03-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/428d69a516c8f39bd7a93777c61766b6e62de410d3c973746fbc4803abc1c62c?d=identicon)[johndwells](/maintainers/johndwells)

---

Top Contributors

[![johndwells](https://avatars.githubusercontent.com/u/134110?v=4)](https://github.com/johndwells "johndwells (309 commits)")[![BenHall-1dr](https://avatars.githubusercontent.com/u/101557932?v=4)](https://github.com/BenHall-1dr "BenHall-1dr (14 commits)")[![mckenzieclark](https://avatars.githubusercontent.com/u/25327?v=4)](https://github.com/mckenzieclark "mckenzieclark (8 commits)")[![saltymouse](https://avatars.githubusercontent.com/u/7547649?v=4)](https://github.com/saltymouse "saltymouse (1 commits)")

---

Tags

alpinejscomposercraftcmsddevdockernpmtailwindcssvitejscmsprojectCraftcraftcms

### Embed Badge

![Health badge](/badges/onedarnleyroad-craftcms/health.svg)

```
[![Health](https://phpackages.com/badges/onedarnleyroad-craftcms/health.svg)](https://phpackages.com/packages/onedarnleyroad-craftcms)
```

###  Alternatives

[unionco/craft-sync-db

Craft 3 plugin to sync database across environments

1010.3k](/packages/unionco-craft-sync-db)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
