{"id":33993426,"url":"https://github.com/row-bloom/twig-interpolator","last_synced_at":"2026-05-25T20:40:22.140Z","repository":{"id":203811141,"uuid":"710465706","full_name":"row-bloom/twig-interpolator","owner":"row-bloom","description":"Row bloom driver: Add support of Twig templates to generate HTML. [READONLY]","archived":false,"fork":false,"pushed_at":"2024-01-01T16:10:32.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-26T17:48:08.817Z","etag":null,"topics":["html","templating","twig"],"latest_commit_sha":null,"homepage":"https://twig.symfony.com/doc/3.x/templates.html","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/row-bloom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":null}},"created_at":"2023-10-26T18:45:56.000Z","updated_at":"2024-01-01T16:07:47.000Z","dependencies_parsed_at":"2023-10-30T22:25:01.250Z","dependency_job_id":"76af861b-cb58-445b-9367-b52b4505c9de","html_url":"https://github.com/row-bloom/twig-interpolator","commit_stats":null,"previous_names":["row-bloom/twig-interpolator"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/row-bloom/twig-interpolator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/row-bloom%2Ftwig-interpolator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/row-bloom%2Ftwig-interpolator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/row-bloom%2Ftwig-interpolator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/row-bloom%2Ftwig-interpolator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/row-bloom","download_url":"https://codeload.github.com/row-bloom/twig-interpolator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/row-bloom%2Ftwig-interpolator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27701937,"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","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["html","templating","twig"],"created_at":"2025-12-13T07:19:48.002Z","updated_at":"2025-12-13T07:19:53.111Z","avatar_url":"https://github.com/row-bloom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Row bloom\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/row-bloom/twig-interpolator.svg?style=flat-square)](https://packagist.org/packages/row-bloom/twig-interpolator)\n[![Pest action](https://img.shields.io/github/actions/workflow/status/row-bloom/row-bloom/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/row-bloom/row-bloom/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![Pint action](https://img.shields.io/github/actions/workflow/status/row-bloom/row-bloom/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/row-bloom/row-bloom/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/row-bloom/twig-interpolator.svg?style=flat-square)](https://packagist.org/packages/row-bloom/twig-interpolator)\n\n\u003e [!IMPORTANT]\n\u003e This is a sub-split, for development, pull requests and issues, visit: \u003chttps://github.com/row-bloom/row-bloom\u003e\n\n## Installation\n\n```bash\ncomposer require row-bloom/twig-interpolator\n```\n\n```php\nuse RowBloom\\RowBloom\\Support;\nuse RowBloom\\TwigInterpolator\\TwigInterpolator;\n\napp()-\u003eget(Support::class);\n    -\u003eregisterInterpolatorDriver(TwigInterpolator::NAME, TwigInterpolator::class)\n```\n\nRequires:\n\n- PHP \u003e= 8.1\n\n## Usage\n\n```php\nuse RowBloom\\TwigInterpolator\\TwigInterpolator;\nuse RowBloom\\RowBloom\\Renderers\\HtmlRenderer;\nuse RowBloom\\RowBloom\\RowBloom;\n\napp()-\u003eget(RowBloom::class)\n    -\u003eaddTable([\n        ['title' =\u003e 'Title1', 'body' =\u003e 'body1'],\n        ['title' =\u003e 'Title2', 'body' =\u003e 'body2'],\n    ])\n    -\u003esetInterpolator(TwigInterpolator::NAME)\n    -\u003esetTemplate('\n        \u003ch1\u003e{{ title }}\u003c/h1\u003e\n        \u003cp\u003eBold text\u003c/p\u003e\n        \u003cdiv\u003e{{ body }}\u003c/div\u003e\n    ')\n    -\u003esetRenderer(HtmlRenderer::class)\n    -\u003esave(__DIR__.'/foo.pdf');\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frow-bloom%2Ftwig-interpolator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frow-bloom%2Ftwig-interpolator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frow-bloom%2Ftwig-interpolator/lists"}