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

ActiveCraft-plugin

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

Craft Conventions

5.1.1(9mo ago)811.2k↑121.4%[3 PRs](https://github.com/zaengle/craft-conventions/pulls)MITPHPPHP ^8.2 | ^8.3CI passing

Since Aug 5Pushed 3mo 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 1mo ago

READMEChangelog (5)Dependencies (7)Versions (29)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

51

—

FairBetter than 96% of packages

Maintenance71

Regular maintenance activity

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

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

282d 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 (2 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

[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.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

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