{"id":20179534,"url":"https://github.com/lrf141/rook","last_synced_at":"2025-07-05T03:06:53.863Z","repository":{"id":62519481,"uuid":"132828713","full_name":"lrf141/rook","owner":"lrf141","description":"A simple template engine written in PHP","archived":false,"fork":false,"pushed_at":"2018-06-05T14:40:41.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T05:42:17.530Z","etag":null,"topics":["simple-template-engine","template","template-engine"],"latest_commit_sha":null,"homepage":null,"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/lrf141.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2018-05-10T00:50:02.000Z","updated_at":"2018-10-07T06:14:56.000Z","dependencies_parsed_at":"2022-11-02T14:46:00.925Z","dependency_job_id":null,"html_url":"https://github.com/lrf141/rook","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lrf141/rook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrf141%2Frook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrf141%2Frook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrf141%2Frook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrf141%2Frook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lrf141","download_url":"https://codeload.github.com/lrf141/rook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lrf141%2Frook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263674199,"owners_count":23494531,"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":["simple-template-engine","template","template-engine"],"created_at":"2024-11-14T02:27:06.638Z","updated_at":"2025-07-05T03:06:53.806Z","avatar_url":"https://github.com/lrf141.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/lrf141/rook.svg?branch=master)](https://travis-ci.org/lrf141/rook)\n# Rook\nA simple template engine written in PHP\n\n# How to use\n```\n$ composer require lrf141/rook\n```\n```php\n\nuse Lrf141\\Rook\\Engine;\n$engine = new Engine('path/to/template');\necho $engine.render('template_name', ['data' =\u003e 'hello,world']);\n```\n\n```php:template_name.php\n\u003c?php\necho $data;\n?\u003e\n\u003ch1\u003e\u003c?= $data ?\u003e\u003c/h1\u003e\n\u003c?\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrf141%2Frook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flrf141%2Frook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flrf141%2Frook/lists"}