PHPackages                             miranj/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. [Framework](/categories/framework)
4. /
5. miranj/craft-boilerplate

ActiveProject[Framework](/categories/framework)

miranj/craft-boilerplate
========================

A Craft CMS 5 starter project by Miranj

v3.4.1(9mo ago)17933[10 issues](https://github.com/miranj/craft-boilerplate/issues)[3 PRs](https://github.com/miranj/craft-boilerplate/pulls)MITJavaScript

Since Aug 25Pushed 1w ago3 watchersCompare

[ Source](https://github.com/miranj/craft-boilerplate)[ Packagist](https://packagist.org/packages/miranj/craft-boilerplate)[ Docs](https://miranj.in/)[ RSS](/packages/miranj-craft-boilerplate/feed)WikiDiscussions dev Synced today

READMEChangelog (2)Dependencies (25)Versions (23)Used By (0)

[![Miranj](https://avatars.githubusercontent.com/u/1098673?s=200&v=4)](https://avatars.githubusercontent.com/u/1098673?s=200&v=4)

Miranj Craft Boilerplate
========================

[](#miranj-craft-boilerplate)

A [Craft CMS](https://craftcms.com/) 5 starter project based on [Miranj’s](https://miranj.in)project boilerplate (see [`craft4`](https://github.com/miranj/craft-boilerplate/tree/craft4) or [`craft3`](https://github.com/miranj/craft-boilerplate/tree/craft3) for the older versions).

Contents
--------

[](#contents)

- [Features](#features)
- [Usage](#usage)
- [Changelog](./CHANGELOG.md)
- [License](./LICENSE)

Features
--------

[](#features)

This starter project includes:

- Our [modular templating architecture](https://miranj.in/blog/2019/modular-architecture-for-building-content-websites).
- Our [multi-tiered caching architecture](https://miranj.in/blog/2020/fortifying-craft-for-high-traffic) with full-page template caches in Craft, and FastCGI micro-caching in Nginx).
- A [Gulp](https://gulpjs.com/) based build process that uses
    - [Alpine.js](https://alpinejs.dev/)
    - [Instant.page](https://github.com/instantpage/instant.page)
    - [LazySizes](https://github.com/aFarkas/lazysizes)
    - [PhotoSwipe](https://github.com/dimsemenov/photoswipe)
    - [Tailwind CSS](https://tailwindcss.com/)
- Server configuration files for Apache (dev) and Nginx (staging, production).
- A few Craft plugins, along with their config files:
    - [Child Me](https://github.com/mmikkel/ChildMe-Craft)
    - [CKEditor](https://github.com/craftcms/ckeditor)
    - [Element Index Defaults](https://github.com/verbb/element-index-defaults)
    - [Environment Label](https://github.com/TopShelfCraft/Environment-Label)
    - [Field Manager](https://github.com/verbb/field-manager)
    - [Image Resizer](https://github.com/verbb/image-resizer)
    - [Imager X](https://github.com/spacecatninja/craft-imager-x)
    - [Minify](https://github.com/nystudio107/craft-minify)
    - [Navigation](https://github.com/verbb/navigation)
    - [No-Cache](https://github.com/ttempleton/craft-nocache)
    - [Obfuscator](https://github.com/miranj/craft-obfuscator)
    - [oEmbed](https://github.com/wrav/oembed)
    - [Retcon](https://github.com/mmikkel/Retcon-Craft)
    - [SEOMate](https://github.com/vaersaagod/seomate)
    - [Store Hours](https://github.com/craftcms/store-hours)
    - [Twig Perversion](https://github.com/marionnewlevant/craft-twig_perversion)
    - [Typogrify](https://github.com/nystudio107/craft-typogrify)
    - [Video Utils](https://github.com/aodihis/craftcms-video-utils)
- [Prettier](https://prettier.io/) for auto-formatting (all non-Twig) code.
- [Ready to import fields](https://github.com/miranj/craft-boilerplate/tree/dev/field-library) to speed up the project development process.

Usage
-----

[](#usage)

1. Open your terminal and run the following command:

    ```
    composer create-project miranj/craft-boilerplate:dev-dev /path/to/project

    ```
2. Replace instances of `miranj/craft-boilerplate` and `boilerplate`with the handle of the new project in the following locations:

    - `composer.json`
    - `package.json`
    - `.ddev/config.yaml`
    - `config/app.php`
    - `src/Module.php`
    - `serverconfigs/envs/production/env.conf`
    - `serverconfigs/envs/production/setup.conf`
    - `serverconfigs/envs/staging/env.conf`
    - `serverconfigs/envs/staging/setup.conf`
3. Replace instances of "Miranj Craft Boilerplate" / and "Boilerplate" with the title of the new project.
4. Inspect all `FIXME` comments in the project and take necessary action.
5. Assign values to all shared environment variables in `.env.example`.

###  Health Score

42

↑

FairBetter than 90% of packages

Maintenance68

Regular maintenance activity

Popularity19

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~152 days

Recently: every ~77 days

Total

8

Last Release

292d ago

Major Versions

1.0.0 → v3.0.02024-07-01

v2.0.0 → v3.1.02024-09-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1098673?v=4)[Miranj](/maintainers/miranj)[@miranj](https://github.com/miranj)

![](https://avatars.githubusercontent.com/u/663677?v=4)[Prateek Rungta](/maintainers/rungta)[@rungta](https://github.com/rungta)

![](https://avatars.githubusercontent.com/u/663682?v=4)[Souvik Das Gupta](/maintainers/souvikdg)[@souvikdg](https://github.com/souvikdg)

---

Top Contributors

[![rungta](https://avatars.githubusercontent.com/u/663677?v=4)](https://github.com/rungta "rungta (458 commits)")[![pl-mnm](https://avatars.githubusercontent.com/u/3905170?v=4)](https://github.com/pl-mnm "pl-mnm (445 commits)")[![anita-chouhan](https://avatars.githubusercontent.com/u/30666052?v=4)](https://github.com/anita-chouhan "anita-chouhan (202 commits)")[![architchandra](https://avatars.githubusercontent.com/u/8830075?v=4)](https://github.com/architchandra "architchandra (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![rishifter](https://avatars.githubusercontent.com/u/3610185?v=4)](https://github.com/rishifter "rishifter (4 commits)")

---

Tags

craft-boilerplatecraft3craft4craftcmscmsprojectCraftcraftcmsmiranj

### Embed Badge

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

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

###  Alternatives

[craftcms/craft

Craft CMS

202304.8k2](/packages/craftcms-craft)

PHPackages © 2026

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