PHPackages                             zaengle/craft-conventions - 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. zaengle/craft-conventions

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

zaengle/craft-conventions
=========================

Craft Conventions

5.1.1(10mo ago)812.2k↑40.5%[7 issues](https://github.com/zaengle/craft-conventions/issues)[3 PRs](https://github.com/zaengle/craft-conventions/pulls)MITPHPPHP ^8.2 | ^8.3CI failing

Since Aug 5Pushed 3w ago3 watchersCompare

[ Source](https://github.com/zaengle/craft-conventions)[ Packagist](https://packagist.org/packages/zaengle/craft-conventions)[ Docs](https://craft-conventions.zaengle.com)[ RSS](/packages/zaengle-craft-conventions/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (7)Versions (31)Used By (0)

Conventions plugin for Craft CMS 4.x
====================================

[](#conventions-plugin-for-craft-cms-4x)

[![Latest Stable Version](https://camo.githubusercontent.com/ed301628ccae048a9818b881ad535954cfe4a1a49060295a883f09a687f60b99/687474703a2f2f706f7365722e707567782e6f72672f7a61656e676c652f63726166742d636f6e76656e74696f6e732f76)](https://packagist.org/packages/zaengle/craft-conventions) [![Buy us a tree](https://camo.githubusercontent.com/130148911f548b001b2ac68a32c0a06559977ca60ada3bf480c72ae4ea093175/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e)](https://plant.treeware.earth/zaengle/craft-toolbelt) [![License](https://camo.githubusercontent.com/99d65b24b99e0625c0042bd9a6bfe48ff5bd9bcdc3af5d6a625f2221207804e4/687474703a2f2f706f7365722e707567782e6f72672f7a61656e676c652f63726166742d636f6e76656e74696f6e732f6c6963656e7365)](https://packagist.org/packages/zaengle/craft-conventions)

The Conventions plugin helps you maintain a consistent template structure both within and across your Craft CMS projects, by making it easy to define and use twig helper functions that act as improved replacements for Twig's native `{% include %}` tag. These functions are designed to help you write cleaner, more consistent templates with less boilerplate.

Turn this:

```
{% include('_components/blog/card') with { data: myData } only %}
```

Into this:

```
{{ component('card/blog', { data: myData }) }}
```

with just a single line definition in a config file.

Features
--------

[](#features)

- Works out-of-the-box with default options
- Flexible config options
- Easily customisable for advanced use-cases

How to use
----------

[](#how-to-use)

[Read the documentation](https://craft-conventions.zaengle.com/)

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](./.github/SECURITY.md) on how to report security vulnerabilities.

Conventions Roadmap
-------------------

[](#conventions-roadmap)

- Tests!
- Add generators for scaffolding new patterns
- Styleguide generator intergration 🧐

Brought to you by [Zaengle Corp](https://zaengle.com/)

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance59

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 84.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 ~67 days

Recently: every ~103 days

Total

17

Last Release

328d ago

Major Versions

1.1.3 → 5.0.0-beta.12024-03-06

PHP version history (3 changes)1.0.4PHP ^8.0 | ^8.1

5.0.0-beta.1PHP ^8.2

5.0.2PHP ^8.2 | ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/469bfbd3e1b1b6b42d65bf3fba4e6c7a0c0113188d7efc17411800d5686f5655?d=identicon)[tomdavies](/maintainers/tomdavies)

![](https://www.gravatar.com/avatar/d5562b4d7d0b994350c229be13a5a1e1f45e593abe55da7475cae551f2a9244e?d=identicon)[zaengle](/maintainers/zaengle)

---

Top Contributors

[![tomdavies](https://avatars.githubusercontent.com/u/136308?v=4)](https://github.com/tomdavies "tomdavies (86 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![jesseschutt](https://avatars.githubusercontent.com/u/353047?v=4)](https://github.com/jesseschutt "jesseschutt (6 commits)")

---

Tags

craftcraft-plugincraft4craft5craftcmscraftcms-plugincmsCraftcraftcmscraft-pluginconventions

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zaengle-craft-conventions/health.svg)

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

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k59](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M53](/packages/nystudio107-craft-seomatic)[verbb/navigation

Create navigation menus for your site.

92705.0k18](/packages/verbb-navigation)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)

PHPackages © 2026

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