{"id":26671200,"url":"https://github.com/zaengle/craft-conventions","last_synced_at":"2025-07-17T05:38:25.709Z","repository":{"id":38371610,"uuid":"497844920","full_name":"zaengle/craft-conventions","owner":"zaengle","description":"Opinionated conventions for organising CraftCMS templates","archived":false,"fork":false,"pushed_at":"2025-01-27T11:40:28.000Z","size":2545,"stargazers_count":8,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T04:13:20.780Z","etag":null,"topics":["craft","craft-plugin","craft4","craft5","craftcms","craftcms-plugin"],"latest_commit_sha":null,"homepage":"https://craft-conventions.zaengle.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaengle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-30T07:59:35.000Z","updated_at":"2024-12-16T12:07:01.000Z","dependencies_parsed_at":"2024-05-20T16:43:40.114Z","dependency_job_id":"4283ce5f-6b16-41b0-b97c-54db152f9c6d","html_url":"https://github.com/zaengle/craft-conventions","commit_stats":{"total_commits":53,"total_committers":3,"mean_commits":"17.666666666666668","dds":0.05660377358490565,"last_synced_commit":"10302e14e8e9480a6d9a81d622637e82fd06422d"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaengle%2Fcraft-conventions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaengle%2Fcraft-conventions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaengle%2Fcraft-conventions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaengle%2Fcraft-conventions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaengle","download_url":"https://codeload.github.com/zaengle/craft-conventions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514203,"owners_count":21116903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["craft","craft-plugin","craft4","craft5","craftcms","craftcms-plugin"],"created_at":"2025-03-25T23:44:11.178Z","updated_at":"2025-04-12T04:13:24.786Z","avatar_url":"https://github.com/zaengle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conventions plugin for Craft CMS 4.x\n\n[![Latest Stable Version](http://poser.pugx.org/zaengle/craft-conventions/v)](https://packagist.org/packages/zaengle/craft-conventions) [![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/zaengle/craft-toolbelt) [![License](http://poser.pugx.org/zaengle/craft-conventions/license)](https://packagist.org/packages/zaengle/craft-conventions)\n\nThe 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.\n\nTurn this:\n\n```twig\n{% include('_components/blog/card') with { data: myData } only %}\n```\nInto this:\n\n```twig\n\n{{ component('card/blog', { data: myData }) }}\n```\n\nwith just a single line definition in a config file.\n\n## Features\n\n- Works out-of-the-box with default options \n- Flexible config options\n- Easily customisable for advanced use-cases\n\n\n## How to use\n\n[Read the documentation](https://craft-conventions.zaengle.com/)\n\n## Security Vulnerabilities\n\nPlease review [our security policy](./.github/SECURITY.md) on how to report security vulnerabilities.\n\n\n## Conventions Roadmap\n\n- [ ] Tests!\n- [ ] Add generators for scaffolding new patterns\n- [ ] Styleguide generator intergration 🧐\n\nBrought to you by [Zaengle Corp](https://zaengle.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaengle%2Fcraft-conventions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaengle%2Fcraft-conventions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaengle%2Fcraft-conventions/lists"}