mthaml) bridges HAML (HTML Abstraction Markup Language) templating across PHP (Laravel) and other targets (e.g., Twig, hypothetical languages). For Laravel, this could reduce template duplication if the project uses HAML alongside Blade or Twig, but native Blade templating is already mature and optimized for Laravel. The value proposition is unclear unless:
View::addExtension() or custom compiler).@stack, @push).config/view.php or a custom service provider.View::addExtension('haml', function ($path) {
return (new MthamlCompiler())->compile(file_get_contents($path));
});
resources/
views/
legacy/ # HAML templates
components/ # Blade components
@stack, @inject, @component).@php @endphp).@stack, @once, or dynamic components.How can I help you explore Laravel packages today?