salesforce/handlebars-php
Handlebars.php is a PHP port of Handlebars.js, bringing logic-less, Mustache-inspired templating to PHP. It supports custom helpers, partials, and context-aware rendering, so templates can be shared between JavaScript and PHP with consistent output.
salesforce/handlebars-php is a standalone, logic-less Handlebars template engine for PHP, not a Laravel-native view layer. It fits best as a bounded rendering component for user-configurable templates, transactional emails, notifications, CMS content, or shared server/client templates where Blade is a poor fit. It should not replace Blade for normal application views.TemplateRenderer abstraction can isolate Handlebars from controllers, jobs, and mailables. The main integration work is helper/partial registration, escaping policy, caching, and template storage.How can I help you explore Laravel packages today?