{"id":86701,"library":"symfony-templating","title":"Symfony Templating","description":"Provides all the tools needed to build any kind of template system.","status":"active","version":"6.4.24","language":"php","source_language":null,"source_url":"https://github.com/symfony/templating","tags":["templating","symfony","php","template-engine"],"install":[{"cmd":"composer require symfony/templating","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"PhpEngine","correct":"use Symfony\\Component\\Templating\\PhpEngine;"}],"quickstart":{"code":"<?php\n\nuse Symfony\\Component\\Templating\\PhpEngine;\nuse Symfony\\Component\\Templating\\TemplateNameParser;\nuse Symfony\\Component\\Templating\\Loader\\FilesystemLoader;\n\n$loader = new FilesystemLoader('/path/to/templates/%name%');\n$engine = new PhpEngine(new TemplateNameParser(), $loader);\necho $engine->render('hello.php', ['name' => 'World']);","lang":"php","description":"Render a PHP template using the Symfony Templating component."},"warnings":[],"env_vars":null,"search_vec":"'build':9 'engin':20 'kind':11 'need':7 'php':17 'provid':3 'symfoni':1,16 'system':14 'templat':2,13,15,19 'template-engin':18 'tool':6","created_at":"2026-06-19T08:06:26.682126+00:00","updated_at":"2026-06-19T08:06:26.682126+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://symfony.com","github":"https://github.com/symfony/templating","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}