illuminate/view
Standalone view rendering and Blade templating component from Laravel. Compile and cache Blade templates, compose nested views, share data across views, and use view composers and creators to build reusable, maintainable PHP templates for Laravel or any PHP project.
illuminate/view is the default view layer bundled with Laravel, the decision is not whether to adopt a templating engine but how to structure views (layouts, partials, Blade components) for maintainability and reuse.addLocation), and standalone microservices or CLI tools that need Laravel’s view engine without the full framework.view.compiled.path) to reduce runtime overhead.@auth, @csrf, @vite) within a full Laravel app.illuminate/view directly when you want Blade’s syntax and features outside a full Laravel app. Be prepared to manually bootstrap ViewFactory, FileViewFinder, and FileCompilerEngine, and to configure compiled view paths.ViewFactory::addLocation() and namespaced views to avoid conflicts.BladeCompiler) or view composers for dynamic data population.@vite, @csrf) without bootstrapping a container; or you need a zero-dependency, lightweight templating solution.illuminate/view is the core view engine of Laravel, already included at no additional licensing cost (MIT). It reduces build-vs-buy risk and accelerates UI delivery through Blade’s intuitive syntax, reusable components, and compiled view caching. It aligns with the Laravel ecosystem, so there is no integration overhead. Roadmap opportunities include custom directives and view composers to address domain-specific presentation needs without adding new dependencies.view() helper. It is extensible via custom directives and BladeCompiler overrides. Recommend using it inside Laravel for full features; for standalone scenarios, weigh the manual setup against the benefit of reusing familiar Blade templates.How can I help you explore Laravel packages today?