{"id":26728336,"url":"https://github.com/templado/engine","last_synced_at":"2025-04-04T15:12:11.031Z","repository":{"id":14816430,"uuid":"77154102","full_name":"templado/engine","owner":"templado","description":"A pragmatic approach to templating for PHP 8.2+","archived":false,"fork":false,"pushed_at":"2025-04-04T07:43:26.000Z","size":614,"stargazers_count":50,"open_issues_count":2,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-04T08:30:33.501Z","etag":null,"topics":["php","php8","template-engine","templating"],"latest_commit_sha":null,"homepage":"https://templado.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/templado.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["theseer"]}},"created_at":"2016-12-22T15:12:44.000Z","updated_at":"2025-04-04T07:43:30.000Z","dependencies_parsed_at":"2024-01-22T19:04:51.574Z","dependency_job_id":"7b99df93-9632-48d4-b4e3-969137d95d30","html_url":"https://github.com/templado/engine","commit_stats":{"total_commits":279,"total_committers":5,"mean_commits":55.8,"dds":"0.043010752688172005","last_synced_commit":"420edabc5365e720b0426e74fd6d6725973d4d4d"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templado%2Fengine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templado%2Fengine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templado%2Fengine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/templado%2Fengine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/templado","download_url":"https://codeload.github.com/templado/engine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247148932,"owners_count":20891947,"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":["php","php8","template-engine","templating"],"created_at":"2025-03-27T22:23:16.149Z","updated_at":"2025-04-04T15:12:11.010Z","avatar_url":"https://github.com/templado.png","language":"PHP","funding_links":["https://github.com/sponsors/theseer"],"categories":[],"sub_categories":[],"readme":"# Templado 5\n\n\u003e __Templado 5.0 is currently under heavy development__\n\u003e\n\u003e Templado 5.0 - developed in `main` - is, in major parts, a rewrite from Templado 4.x and under current development. If you want to try 5.0 already, please be aware of the fact the current API is subject to change and it is not yet feature complete.\n\n\n[![Integrate](https://github.com/templado/engine/workflows/Integrate/badge.svg)](https://github.com/templado/engine/actions)\n\nA pragmatic approach to templating for PHP 8.2+\n\n(Use Templado [4.x](https://github.com/templado/engine/tree/4.x) for PHP \u003e=7.4)\n\n### Motivation\n\nMost of today's templating engines mix code for the required rendering logic with HTML markup in one file and require\nthe developers to learn their respective language.\n\nTemplado follows a different approach on templating: Being in part inspired by [Tempan](https://github.com/watoki/tempan),\nTemplado relies solely on plain HTML markup. The limited amount of display logic required is contained with the engine\nand triggered by the view model when it's applied to the Page.\n\n### Always ready to preview\n\nAs a Templado template is plain HTML, previewing is as easy as opening the HTML file with a browser - example data can\nand should be included as the engine will clean it up based on the view model upon rendering.\n\n### Form handling included\n\nTo make form handling even more easy, Templado comes with explicit HTML Form support. Based on supplied Input data,\nTemplado will repopulate the HTML form and even include your CSRF protection code.\n\n### Merging of Documents\n\nDocuments can be merged based on element ID values to combine multiple fragments - even recursively - into a final document.\n\n### Custom transformations, Filters and Serialization\n\nTemplado allows for custom transformations, like adding a class to every ```a``` tag and string based replacements upon\nserialization. The full serialization can be customized, with some default variants shipping along.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemplado%2Fengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftemplado%2Fengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftemplado%2Fengine/lists"}