awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
symfony avatar

symfony/templating

0
View on GitHub↗

Templating

This library provides a framework for building custom template systems and rendering dynamic content within web applications. It offers a set of standardized interfaces and tools designed to handle the parsing of template files, the transformation of data into structured output, and the management of template loading from various storage locations.

The component distinguishes itself through a modular architecture that supports incremental output streaming, which processes content in chunks to reduce memory usage and improve response times. It also includes integrated security features that automatically sanitize dynamic data to prevent injection attacks, alongside structural mechanisms that allow for template block inheritance to maintain consistent page layouts.

Beyond core rendering, the library functions as a utility for managing web assets. It provides capabilities for generating absolute and versioned resource URLs, ensuring that links remain accurate and that browsers receive the latest file updates by bypassing outdated local caches.

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI
symfony.com/templating
↗

Features

  • Template Rendering Engines - Provides a framework for building custom template systems that handle file loading, output escaping, and incremental rendering.
  • HTML Sanitization - Sanitizes dynamic data by escaping special characters to prevent malicious code execution in web pages.
  • Output Escaping - Automatically sanitizes dynamic variables during rendering to prevent injection attacks and ensure secure web output.
  • HTML Template Renderers - Offers interfaces and tools for parsing template files and transforming dynamic data into secure, structured HTML output.
  • Absolute URL Builders - Constructs absolute web addresses for resources to ensure links remain functional and accurate.
  • Dynamic Template Loading - Retrieves template source files from storage and monitors them for modifications to ensure up-to-date rendering.
  • Template Inheritance - Enables template inheritance to define reusable layout skeletons and override specific sections for consistent page design.
  • Interface-Driven Abstraction - Uses standardized interfaces to decouple template parsing logic from the rendering engine.
  • Built-in Template Renderers - Processes template files using native language syntax while applying automatic output escaping and block organization.
  • Asset Versioning - Provides utilities for generating versioned asset URLs to manage browser caching and ensure users receive the latest file updates.
  • Versioned URL Invalidators - Appends unique version identifiers to asset paths to force browsers to fetch the latest file updates.
  • Custom Template Loaders - A layered system retrieves source files from various storage locations and tracks modification timestamps to trigger automatic re-compilation when files change.
  • Custom Template Tags - Provides modular and extensible systems for defining custom parsing logic and rendering rules.
  • Template Logic Customization - Allows developers to define custom logic and interfaces for parsing and transforming data into dynamic content.
  • Asset URL Generators - Generates absolute and versioned URLs for static resources to ensure accurate linking and effective cache busting.
  • Web Asset Management Tools - Provides utilities for generating absolute and versioned URLs to ensure accurate resource linking and effective browser caching.
  • Incremental Response Streaming - Supports incremental output streaming to minimize memory usage and accelerate initial page delivery.
  • Template-to-Response Rendering - Renders template content incrementally to reduce memory footprint and improve response times.
1,021 estrellas·19 forks·PHP·MIT·4 vistas

Historial de estrellas

Gráfico del historial de estrellas de symfony/templatingGráfico del historial de estrellas de symfony/templating

Alternativas open-source a Templating

Proyectos open-source similares, clasificados según cuántas características comparten con Templating.
  • scriban/scribanAvatar de scriban

    scriban/scriban

    3,905Ver en GitHub↗

    Scriban is a text templating library and .NET scripting engine used for dynamic text generation. It functions as a template processor and a safe scripting sandbox, providing a secure execution environment that restricts object exposure to prevent unauthorized code execution. The project also includes an abstract syntax tree template parser that allows for programmatic template analysis and modification. The engine features a dedicated Liquid template engine and compatibility mode, allowing it to parse, execute, and convert templates written in Liquid syntax. It distinguishes itself through a

    C#handlebarsliquidmustache
    Ver en GitHub↗3,905
  • twigphp/twigAvatar de twigphp

    twigphp/Twig

    8,363Ver en GitHub↗

    Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It functions as a secure template language that generates HTML output by combining dynamic data with reusable layouts. The system emphasizes security through a focus on preventing cross-site scripting attacks via automatic output escaping and content sanitization. To ensure execution efficiency, it compiles templates into optimized PHP code and utilizes a caching mechanism to bypass parsing on subsequent requests. The engine provides comprehensive tools for template composition

    PHPphptemplate-enginetemplate-language
    Ver en GitHub↗8,363
  • tj/ejsAvatar de tj

    tj/ejs

    4,461Ver en GitHub↗

    ejs is an embedded JavaScript template engine for Node.js that generates HTML and other text formats by embedding JavaScript logic into templates. It functions as a server-side rendering engine and HTML template processor that merges static markup with dynamic data. The system operates as a compiled template library, converting templates into JavaScript functions to enable cached rendering and faster execution. It includes built-in security to prevent cross-site scripting by automatically escaping HTML entities and special characters during the rendering process. The engine supports modular

    JavaScript
    Ver en GitHub↗4,461
  • lunet-io/scribanAvatar de lunet-io

    lunet-io/scriban

    3,905Ver en GitHub↗

    Scriban is a .NET text templating engine and embedded scripting language used for dynamic text generation. It functions as an abstract syntax tree manipulation tool and a template parser, allowing for the conversion of scripts into visitable trees for analysis, modification, and rendering. The engine is specifically designed for Native AOT compatibility, utilizing a reflection-free API to execute templates in trimmed environments. It also provides a dedicated parser and conversion system for Liquid templates, enabling the migration and execution of Liquid scripts within .NET. The project cov

    C#
    Ver en GitHub↗3,905
Ver las 30 alternativas a Templating→

Colecciones destacadas con Templating

Colecciones seleccionadas manualmente donde aparece Templating.
  • Static site generator

Preguntas frecuentes

¿Qué hace symfony/templating?

This library provides a framework for building custom template systems and rendering dynamic content within web applications. It offers a set of standardized interfaces and tools designed to handle the parsing of template files, the transformation of data into structured output, and the management of template loading from various storage locations.

¿Cuáles son las características principales de symfony/templating?

Las características principales de symfony/templating son: Template Rendering Engines, HTML Sanitization, Output Escaping, HTML Template Renderers, Absolute URL Builders, Dynamic Template Loading, Template Inheritance, Interface-Driven Abstraction.

¿Qué alternativas de código abierto existen para symfony/templating?

Las alternativas de código abierto para symfony/templating incluyen: scriban/scriban — Scriban is a text templating library and .NET scripting engine used for dynamic text generation. It functions as a… twigphp/twig — Twig is a PHP template engine and compiled rendering library designed to separate business logic from presentation. It… tj/ejs — ejs is an embedded JavaScript template engine for Node.js that generates HTML and other text formats by embedding… lunet-io/scriban — Scriban is a .NET text templating engine and embedded scripting language used for dynamic text generation. It… middleman/middleman — Middleman is a Ruby-based static site generator and web framework used to transform templates and assets into… getgrav/grav — Grav is a flat-file content management system that eliminates the need for a traditional database by storing site…