{"id":22281629,"url":"https://github.com/fenom-template/fenom","last_synced_at":"2025-12-17T22:00:17.975Z","repository":{"id":9208043,"uuid":"11018184","full_name":"fenom-template/fenom","owner":"fenom-template","description":"Template Engine for PHP. Maintainers wanted!","archived":false,"fork":false,"pushed_at":"2024-09-08T08:59:44.000Z","size":1405,"stargazers_count":447,"open_issues_count":30,"forks_count":108,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-04-10T06:39:45.011Z","etag":null,"topics":["fenom","php","template-engine"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fenom-template.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","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":"authors.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-06-28T06:48:32.000Z","updated_at":"2025-03-17T18:23:10.000Z","dependencies_parsed_at":"2023-02-19T02:01:04.713Z","dependency_job_id":"9ba5b6c0-2f49-4fec-b6a2-cbb9b79327fa","html_url":"https://github.com/fenom-template/fenom","commit_stats":{"total_commits":562,"total_committers":43,"mean_commits":"13.069767441860465","dds":0.4483985765124555,"last_synced_commit":"fbf4f46f1fe1d7d3cc342996e8e71d42b6b1ecdb"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenom-template%2Ffenom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenom-template%2Ffenom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenom-template%2Ffenom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenom-template%2Ffenom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fenom-template","download_url":"https://codeload.github.com/fenom-template/fenom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254364264,"owners_count":22058877,"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":["fenom","php","template-engine"],"created_at":"2024-12-03T16:20:01.598Z","updated_at":"2025-12-17T22:00:12.909Z","avatar_url":"https://github.com/fenom-template.png","language":"PHP","readme":"MAINTAINERS WANTED\n=== \nCreate issue if you want to be a maintainer of Fenom\n\nFenom - Template Engine for PHP\n===============================\n\n**Fenóm**  - lightweight and fast template engine for PHP.\n\n* **Subject:** Template engine\n* **Syntax:** Smarty-like\n* **Documentation:** **[English](./docs/en/readme.md)**, **[Russian](./docs/ru/readme.md)**\n* **PHP version:** 8.0+\n* **State:** [![PHP Composer](https://github.com/fenom-template/fenom/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/fenom-template/fenom/actions/workflows/php.yml) [![Coverage Status](https://coveralls.io/repos/fenom-template/fenom/badge.svg?branch=master)](https://coveralls.io/r/fenom-template/fenom?branch=master)\n* **Version:** [![Latest Stable Version](https://poser.pugx.org/fenom/fenom/v/stable.png)](https://packagist.org/packages/fenom/fenom)\n* **Packagist:** [fenom/fenom](https://packagist.org/packages/fenom/fenom) [![Total Downloads](https://poser.pugx.org/fenom/fenom/downloads.png)](https://packagist.org/packages/fenom/fenom)\n* **Composer:** `composer require fenom/fenom`\n* **Discussion:** [Fenom Forum](https://groups.google.com/forum/#!forum/php-ion)\n* **Versioning:** [semver2](http://semver.org/)\n* **Performance:** see [benchmark](./docs/en/benchmark.md)\n\n***\n\n## Quick Start\n\n### Install\n\nIf you use composer in your project then you can to install Fenom as package.\n\n### Setup\n\nThere is two-way to create Fenom instance:\n\n* Long way: use operator `new`\n* Shot way: use static factory-method\n\n**Long way.** Create you own template provider or default provider `Fenom\\Provider` (that is provider read [there](./)).\nUsing provider instance create Fenom instance:\n\n```php\n$fenom = new Fenom(new Fenom\\Provider($template_dir));\n```\n\nAfter that, set compile directory:\n\n```php\n$fenom-\u003esetCompileDir($template_cache_dir);\n```\n\nThis directory will be used for storing compiled templates, therefore it should be writable for Fenom.\nNow Fenom is ready to work and now you can to configure it:\n\n```php\n$fenom-\u003esetOptions($options);\n```\n\n**Short way.** Creating an object via factory method with arguments from long way.\n\n```php\n$fenom = Fenom::factory($template_dir, $template_cache_dir, $options);\n```\n\nNow Fenom is ready to work.\n\n### Usage\n\n### Example\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffenom-template%2Ffenom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffenom-template%2Ffenom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffenom-template%2Ffenom/lists"}