PHPackages                             handplant/lazy-craft-cms-4-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. [API Development](/categories/api)
4. /
5. handplant/lazy-craft-cms-4-boilerplate

ActiveProject[API Development](/categories/api)

handplant/lazy-craft-cms-4-boilerplate
======================================

Simple lazy responsive starter kit for CraftCMS 4 Projects.

301Twig

Since Oct 9Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/handplant/Lazy-Craft-CMS-4-Boilerplate)[ Packagist](https://packagist.org/packages/handplant/lazy-craft-cms-4-boilerplate)[ RSS](/packages/handplant-lazy-craft-cms-4-boilerplate/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

⚠️ Deprecated – Use the new Starter Kit!
========================================

[](#️-deprecated--use-the-new-starter-kit)

This repository is no longer maintained.
👉 **[Go to the new CraftCMS Lazy Starter Kit](https://github.com/handplant/craftcms-lazy-starter-kit)** 🚀

Lazy Craft CMS 4 Boilerplate
============================

[](#lazy-craft-cms-4-boilerplate)

Simple lazy responsive starter kit for CraftCMS 4 Projects.

[![](web/assets/screenshot-light.png)](web/assets/screenshot-light.png)[![](web/assets/screenshot-dark.png)](web/assets/screenshot-dark.png)

Requirements
------------

[](#requirements)

RTFM [Craft CMS 4 Requirements](https://craftcms.com/docs/4.x/requirements.html)

Configs
-------

[](#configs)

Duplicate the .env.example file as .env and do your settings! Be sure that your `SITE_URL` points to the `/web`directory.

DB
--

[](#db)

Use the boilerplate.sql as starting point. Create a new database with the settings from your .env file and import the boilerplate.sql into it. The login credentials are: admin:superuser

Development
-----------

[](#development)

- `npm run dev` start local dev server
- `npm run build` build

Check `Vite.js` and [vitejs Documentation](https://vitejs.dev/) for more Informations!

Whats inside?
-------------

[](#whats-inside)

### Stack

[](#stack)

- [Craft CMS](https://craftcms.com/)
- [Vite.js](https://vitejs.dev/)
- [TailwindCSS](https://tailwindcss.com/)
- [Alpine.js](https://alpinejs.dev/)
- [Sprig/htmx](https://htmx.org/)
- [GraphQL](https://graphql.org/)

### Plugins (free)

[](#plugins-free)

- [Elements Panel](https://plugins.craftcms.com/elements-panel?craft4)
- [Vite](https://plugins.craftcms.com/vite?craft4)
- [Redactor](https://plugins.craftcms.com/redactor?craft4)
- [CKEditor](https://plugins.craftcms.com/ckeditor?craft4)
- [Seomate](https://plugins.craftcms.com/seomate?craft4)
- [Sprig](https://plugins.craftcms.com/sprig?craft4)
- [Super Table](https://plugins.craftcms.com/super-table?craft4)
- [Typed link field](https://plugins.craftcms.com/typedlinkfield?craft4)

### Sections

[](#sections)

- Single - Home
- Structure - Pages (Page Default, Page News Index)
- Structure - Navigation
- Channel - News
- Channel - Categories

### Categories

[](#categories)

- News Categories

### Highlights

[](#highlights)

- ContentBuilder (Text, Images, Cards, Teaser, Accordion)
- Native Image Transform Twig Component with webp, lazyloading and srcset support
- Sprig/htmx news pagination (pages or loadmore button)
- Simple Alpinejs/GraphQL News Counter
- Darkmode
- EagerLoading
- Tailwind Form Style Testpage
- Seo Fields

Do you need more than a lazy boilerplate?
-----------------------------------------

[](#do-you-need-more-than-a-lazy-boilerplate)

Check out [CraftCMS Baukasten](https://github.com/davidhellmann/craftcms-baukasten)from [David Hellmann](https://github.com/davidhellmann)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance42

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0df55cdb6b67d2bd8ebf614c42c7b0d93b70ebe02bc8bd8c512838200928a190?d=identicon)[handplant](/maintainers/handplant)

---

Top Contributors

[![handplant](https://avatars.githubusercontent.com/u/2598962?v=4)](https://github.com/handplant "handplant (29 commits)")

---

Tags

alpinejsboilerplatecraft-4craft-cmsgraphqlsprigstarter-kittailwindcssvitejs

### Embed Badge

![Health badge](/badges/handplant-lazy-craft-cms-4-boilerplate/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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