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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
sebastianbergmann avatar

sebastianbergmann/php-text-template

0
View on GitHub↗

Php Text Template

php-text-template is a logic-less PHP text templating engine and string placeholder replacement library. It serves as a template-based text generator for producing dynamic messages and documents from static text templates.

The library focuses on automated content formatting and custom template processing to inject variable content into structured text output. This enables dynamic text generation by replacing predefined keys within a string with specific data.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Text Templating Engines - Acts as a logic-less PHP engine for substituting placeholders in text strings with dynamic values.
  • Dynamic Text Generation - Creates personalized messages or documents by replacing placeholders with specific user data.
  • Text Placeholder Replacements - Swaps defined placeholders within text strings with specific values to generate dynamic content.
  • Text Template Processing - Generates structured text output from predefined templates by injecting variable content.
  • String Placeholder Libraries - Provides a lightweight utility for generating customized text by replacing predefined keys with specific data.
  • Stateless Templates - Processes templates in a single pass without maintaining internal state or sessions between renders.
  • KeyValue Map Substitutions - Implements placeholder replacement by looking up values from an associative array.
  • Regex Placeholder Replacements - Uses regular expression search and replace operations to identify and swap template placeholders.
  • Text Block Formatting - Standardizes how data is inserted into text blocks for reports, emails, or logs.
7,443 stars·30 forks·PHP·bsd-3-clause·12 views

Star history

Star history chart for sebastianbergmann/php-text-templateStar history chart for sebastianbergmann/php-text-template

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Php Text Template

These projects share indexed features with Php Text Template. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • lunet-io/scribanlunet-io avatar

    lunet-io/scriban

    3,905View on 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#
    View on GitHub↗3,905
  • scriban/scribanscriban avatar

    scriban/scriban

    3,905View on 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
    View on GitHub↗3,905
  • keats/teraKeats avatar

    Keats/tera

    4,235View on GitHub↗

    Tera is a server-side rendering engine and template engine for Rust. It is designed to generate dynamic text by injecting data into predefined template files, utilizing a syntax compatible with Jinja2 and Django. The engine supports a variety of text generation tasks, including the creation of web pages via HTML rendering, the automation of email templates, and the production of environment-specific configuration files.

    Rustdjangojinja2rust-library
    View on GitHub↗4,235
  • pdfme/pdfmepdfme avatar

    pdfme/pdfme

    4,156View on GitHub↗

    pdfme is a schema-based PDF generation engine and dynamic document builder. It provides a system for producing PDF documents by merging predefined templates with dynamic input data across different runtime environments. The project includes a browser-based WYSIWYG PDF editor and template designer, allowing for the arrangement of elements via a drag-and-drop interface. It distinguishes itself through a plugin-based architecture that enables schema extensions and custom rendering logic for new content types. The capability surface covers dynamic content generation, including variable placehold

    TypeScriptpdfpdf-designerpdf-generation
    View on GitHub↗4,156
Compare all 30 related projects→

Frequently asked questions

What does sebastianbergmann/php-text-template do?

php-text-template is a logic-less PHP text templating engine and string placeholder replacement library. It serves as a template-based text generator for producing dynamic messages and documents from static text templates.

What are the main features of sebastianbergmann/php-text-template?

The main features of sebastianbergmann/php-text-template are: Text Templating Engines, Dynamic Text Generation, Text Placeholder Replacements, Text Template Processing, String Placeholder Libraries, Stateless Templates, KeyValue Map Substitutions, Regex Placeholder Replacements.

Which projects share features with sebastianbergmann/php-text-template?

Projects with overlapping indexed features include: lunet-io/scriban — Scriban is a .NET text templating engine and embedded scripting language used for dynamic text generation. It… scriban/scriban — Scriban is a text templating library and .NET scripting engine used for dynamic text generation. It functions as a… keats/tera — Tera is a server-side rendering engine and template engine for Rust. It is designed to generate dynamic text by… pdfme/pdfme — pdfme is a schema-based PDF generation engine and dynamic document builder. It provides a system for producing PDF… gam-team/gam — GAM is a command-line tool for administering Google Workspace and Cloud Identity. It translates command-line arguments… audreyr/cookiecutter — Cookiecutter is a cross-platform command-line interface tool for project scaffolding and template generation. It…