PHPackages                             dgrigg/craft-boilerplate - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dgrigg/craft-boilerplate

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dgrigg/craft-boilerplate
========================

Craft boilerplate setup, includes basic js/css/esbuild setup

1.4.0(3y ago)29[2 PRs](https://github.com/dgrigg/craft-boilerplate/pulls)PHP

Since Nov 2Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (10)Versions (27)Used By (0)

Craft Project Setup
===================

[](#craft-project-setup)

This is a basic Craft 4 with common plugins and frontend resources I use.

Craft Plugins
-------------

[](#craft-plugins)

- SuperTable
- Redactor
- LinkField
- SEO Matic

Frontend
--------

[](#frontend)

Alpine

Axios

TailwindCss

### Build

[](#build)

ESbuild is used to compile and bundle the CSS and Js files. Reference the ./src/js/build/build.js file for the entry points and options. Two primary options are used `--minify` to output minified resources and `--watch` to watch the `./src` and `./templates` directory for changes required a rebuild. The build will output versioned js and css files that can be referenced in the build/mix-manifest.json file and is used with Mix to in the Twig layout to load.

Project Setup
-------------

[](#project-setup)

1. terminal into the docker container
2. run `composer create-project dgrigg/craft-boilerplate [project root] dev-master`
3. setup the local site domain and database (use ~www/docker/add-site.sh)
4. create security key `./craft setup/security-key`
5. install craft `./craft setup`
6. remove the config/license.key file
7. install plugins `./craft plugin/install ALL`
8. update craft and all plugins `./craft update all`
9. setup Craft
10. exit the docker container and return to the local machine
11. cd into the project root and run `npm install`

Repo
----

[](#repo)

1. Setup a new git repo for the organization
2. Add neccessary collaborators
3. Initialize git repo and make first commit

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 98.3% 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 ~70 days

Total

24

Last Release

1123d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ee55b4106f7d69e1e0965384df2f150fba9179c8c491da92d2aad0442d4df22?d=identicon)[dgrigg](/maintainers/dgrigg)

---

Top Contributors

[![dgrigg](https://avatars.githubusercontent.com/u/166361?v=4)](https://github.com/dgrigg "dgrigg (59 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/dgrigg-craft-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/dgrigg-craft-boilerplate/health.svg)](https://phpackages.com/packages/dgrigg-craft-boilerplate)
```

###  Alternatives

[craftcms/shopify

Shopify for Craft CMS

549.2k1](/packages/craftcms-shopify)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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