PHPackages                             fortytwo-studio/craft-cms-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. fortytwo-studio/craft-cms-boilerplate

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

fortytwo-studio/craft-cms-boilerplate
=====================================

This is a boilerplate for Craft CMS

v2.1.4(4mo ago)21723MITTwig

Since Mar 31Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/Andycko/craft-cms-boilerplate)[ Packagist](https://packagist.org/packages/fortytwo-studio/craft-cms-boilerplate)[ RSS](/packages/fortytwo-studio-craft-cms-boilerplate/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (13)Versions (53)Used By (0)

Craft CMS Boilerplate
=====================

[](#craft-cms-boilerplate)

This is a boilerplate for a Craft 5 CMS install with a few plugins already installed, custom file structure, and some pages with nav and a footer.

### Usage

[](#usage)

Firstly you need to **create a database** on your localhost.

To set up the boilerplate, you can use **composer**:

```
composer create-project fortytwo-studio/craft-cms-boilerplate [path]

```

1. Alternatively you can clone the repo:
2. Run `composer install`
    - The `post-install-cmd` hook will run the setup, db import, npm install and finally removes the post-install-cmd scripts
3. Run `npm install`

#### ViteJS

[](#vitejs)

ViteJs is utilised in the project to watch and build **sass** and **js**. Therefore you will need to have `vite-cli` installed to rebuild files. You can install it with node: `npm install -D vite`.

After that, just use `npm run dev` in the terminal to turn on the file watchers.

!! Before deploying changes to staging or production, make sure to run `npm run build` !!

### Plugins installed

[](#plugins-installed)

- [craftcms/aws-s3](https://plugins.craftcms.com/aws-s3)
- [craftcms/ckeditor](http://plugins.craftcms.com/ckeditor)
- [solspace/craft-freeform](https://plugins.craftcms.com/freeform)
- [johnhenry/matrix-block-anchor](https://plugins.craftcms.com/matrix-block-anchor)
- [verbb/navigation](https://plugins.craftcms.com/navigation)
- [ether/seo](https://plugins.craftcms.com/seo)
- [nystudio107/craft-vite](https://plugins.craftcms.com/vite?craft5)
- [wrav/oembed](https://plugins.craftcms.com/oembed?craft5)
- [fortytwo-studio/cookie-consent](https://packagist.org/packages/fortytwo-studio/cookie-consent)

### TailwindCSS

[](#tailwindcss)

Tailwind is installed as a node module and is imported via:

- CSS: `@webroot/src/css/app.css`
- JS: `@webroot/src/js/app.js`

### Preline (components: accordion, sliders, modals, etc)

[](#preline-components-accordion-sliders-modals-etc)

Preline is installed as a node module and is imported and initialised in:

- CSS: `@webroot/src/css/app.css`
- JS: `@webroot/src/js/app.js`

### vanilla-lazyload (lazyload)

[](#vanilla-lazyload-lazyload)

vanilla-lazyload is installed as a node module and is imported and initialised in:
`@webroot/src/js/libraries/lazy-load.js`

### infinite-scroll

[](#infinite-scroll)

infinite-scroll is installed as a node module and is imported and initialised in:
`@webroot/src/js/app.js`

### countup.js (animated numbers counting up)

[](#countupjs-animated-numbers-counting-up)

countup.js is installed as a node module and is imported and initialised in:
`@webroot/src/js/components/stats.js`

### JQuery

[](#jquery)

JQuery is installed as a node module. Can be imported into JS files via:
`import $ from 'jquery';`

### Dependencies

[](#dependencies)

- [Composer 2](https://getcomposer.org/)
- [PHP &gt;= 8.2](https://www.php.net/)
- [Craft 5 CMS Requirements](https://craftcms.com/docs/5.x/requirements.html)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance78

Regular maintenance activity

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 62.7% 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 ~34 days

Recently: every ~16 days

Total

51

Last Release

145d ago

Major Versions

v1.5 → v2.02025-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/b7ac643b1105f5a6869a0306066af43e8acd76ae465654851b637194e7135437?d=identicon)[fortytwo-studio](/maintainers/fortytwo-studio)

---

Top Contributors

[![rossthomson89](https://avatars.githubusercontent.com/u/22751308?v=4)](https://github.com/rossthomson89 "rossthomson89 (116 commits)")[![Andycko](https://avatars.githubusercontent.com/u/34056221?v=4)](https://github.com/Andycko "Andycko (56 commits)")[![davidcraigmyle](https://avatars.githubusercontent.com/u/19872210?v=4)](https://github.com/davidcraigmyle "davidcraigmyle (13 commits)")

### Embed Badge

![Health badge](/badges/fortytwo-studio-craft-cms-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/fortytwo-studio-craft-cms-boilerplate/health.svg)](https://phpackages.com/packages/fortytwo-studio-craft-cms-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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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