{"id":15296227,"url":"https://github.com/patinthehat/templated-text","last_synced_at":"2026-01-05T19:06:10.422Z","repository":{"id":57036230,"uuid":"80490592","full_name":"patinthehat/templated-text","owner":"patinthehat","description":"Basic text templating for PHP 5+,7+.","archived":false,"fork":false,"pushed_at":"2017-02-13T16:21:10.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T02:56:00.695Z","etag":null,"topics":["composer-package","handlebars","php","php-library","php5","php7","template-engine","template-library","templating"],"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/patinthehat.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":"2017-01-31T04:20:16.000Z","updated_at":"2022-02-12T14:03:49.000Z","dependencies_parsed_at":"2022-08-23T20:50:58.720Z","dependency_job_id":null,"html_url":"https://github.com/patinthehat/templated-text","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patinthehat%2Ftemplated-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patinthehat%2Ftemplated-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patinthehat%2Ftemplated-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patinthehat%2Ftemplated-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patinthehat","download_url":"https://codeload.github.com/patinthehat/templated-text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245407755,"owners_count":20610232,"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":["composer-package","handlebars","php","php-library","php5","php7","template-engine","template-library","templating"],"created_at":"2024-09-30T18:09:47.802Z","updated_at":"2026-01-05T19:06:10.325Z","avatar_url":"https://github.com/patinthehat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Permafrost Templated Text\n---\nBasic text templating for PHP 5+.\n\n---\n\n#### Installation\nInstall with composer:\n\t`composer require patinthehat/templated-text`\n\n---\n\n#### Sample Usage\n```php\n\u003c?php\n\ninclude 'vendor/autoload.php';\n\nuse Permafrost\\TemplatedText\\TemplatedText;\n\n$tt = new TemplatedText;\n\n$tt -\u003evariable('one', 'OONNEE')\n    -\u003evariable('hw', 'Hello World')\n    -\u003efilter('test', function($v) { return '-\u003e\u003e'.$v.'\u003c\u003c-'; })\n    -\u003etemplate('This is a test template, one is {{one|aquote}} and {{hw}}! then, {{hw | quote | test}}!! and {{one | quote}} ');\n\necho $tt-\u003eprocess() . PHP_EOL . PHP_EOL;\n```\n\n---\n\n#### Sample Output\n\n`This is a test template, one is -\u003eOONNEE\u003c- and Hello World! then, -\u003e\u003e\"Hello World\"\u003c\u003c-!! and \"OONNEE\"`\n\n\n---\n\n#### License\nThis project is licensed under the [MIT License](LICENSE).\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatinthehat%2Ftemplated-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatinthehat%2Ftemplated-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatinthehat%2Ftemplated-text/lists"}