philo/laravel-blade
Use Laravel's Blade template engine outside of Laravel. This package compiles .blade.php templates into plain PHP through a simple standalone API, supporting layouts, includes, directives, and caching—ideal for lightweight projects that want Blade's clean syntax without the full framework.
philo/laravel-blade is a thin standalone wrapper around Laravel’s Blade compiler and view factory. It fits only when the product is a non-Laravel PHP application that specifically needs Blade syntax and cannot adopt Laravel’s maintained illuminate/view components directly. For Laravel applications, it adds no value over native Blade. For non-PHP stacks, it is irrelevant.illuminate/* versions. Modern PHP 8+, Composer 2, and current Illuminate components will likely conflict. A feasibility spike must verify PHP version, extension requirements, Composer resolution, and whether the exposed API still covers required Blade features.illuminate/view standalone instead? Is the runtime isolated from customer-facing services? Who owns a fork if adopted? What is the security-scanning and patch path? What is the exit cost to Twig, Plates, or native PHP templates? Is Blade syntax a product requirement or an implementation preference?illuminate/view directly, because it is maintained and versioned with Laravel. If the stack is a legacy PHP 5.x application with no upgrade path, consider this package only inside an isolated renderer service or CLI tool, never in the core request path. If the stack is non-PHP, do not integrate.illuminate/view; if blocked by syntax or API differences, evaluate Twig or Plates. Fork philo/laravel-blade only if Blade syntax is a hard product requirement and a named owner accepts maintenance.illuminate/view version, required extensions, and filesystem cache permissions. Confirm whether custom directives and newer Blade constructs are supported. Assume no compatibility with PHP 8.1+ or current Laravel without a fork. Add contract tests with representative templates, including escaping, nested layouts, includes, and error cases.How can I help you explore Laravel packages today?