{"id":17269796,"url":"https://github.com/titpetric/minitpl","last_synced_at":"2025-07-16T05:41:15.639Z","repository":{"id":57019473,"uuid":"702867","full_name":"titpetric/minitpl","owner":"titpetric","description":"Miniature fully featured PHP template engine","archived":false,"fork":false,"pushed_at":"2023-05-18T15:11:53.000Z","size":64,"stargazers_count":12,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T02:04:52.984Z","etag":null,"topics":["erb","minitpl","php","smarty","templating"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/titpetric.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2010-06-04T07:57:05.000Z","updated_at":"2022-09-02T10:02:30.000Z","dependencies_parsed_at":"2024-06-20T23:21:52.226Z","dependency_job_id":"0795d238-f6aa-4e1a-98d9-ad53839de208","html_url":"https://github.com/titpetric/minitpl","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/titpetric/minitpl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titpetric%2Fminitpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titpetric%2Fminitpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titpetric%2Fminitpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titpetric%2Fminitpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/titpetric","download_url":"https://codeload.github.com/titpetric/minitpl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titpetric%2Fminitpl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265485351,"owners_count":23774470,"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":["erb","minitpl","php","smarty","templating"],"created_at":"2024-10-15T08:17:39.098Z","updated_at":"2025-07-16T05:41:15.619Z","avatar_url":"https://github.com/titpetric.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniTPL\n\nThe goal of the MiniTPL template engine is to provide a miniature\nframework which allows you to rapidly create and consume\nSmarty-like templates without adding the overhead of Smarty to\nyour choice of a PHP framework.\n\nIn benchmarks the speed of Mini TPL is very close to PHP itself.\nAll that is usually needed for Mini TPL is a 3KB PHP code overhead.\nSo it beats Smarty, and usual PHP vsprintf and str_replace functionality.\n\nWith a total size of about 13KB and the functionality contained, this is\none of the smallest full featured template engines for PHP to date.\n\nMiniTPL is available on [packagist as monotek/minitpl](https://packagist.org/packages/monotek/minitpl).\n\nTo start using MiniTPL in your project with [composer](http://getcomposer.org/), create a composer.json file:\n```\n{\n    \"require\": {\n        \"monotek/minitpl\": \"\u003e=1.0\"\n    }\n}\n```\n\nAnd run `composer install`. You can start using MiniTPL right away.\n\n```\n\u003c?php\n\ninclude(\"vendor/autoload.php\");\n\n$tpl = new Monotek\\MiniTPL\\Template;\n\n$tpl-\u003eload(\"test.tpl\");\n$tpl-\u003erender();\n```\n\n# Testing\n\nThe project tries to maintain 100% code coverage. You can verify this by running `phpunit --coverage-text`,\nor uncommenting the logging section within phpunit.xml.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitpetric%2Fminitpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftitpetric%2Fminitpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitpetric%2Fminitpl/lists"}