Looking to hire Laravel developers? Try LaraJobs

laravel-content-renderer maintained by code16

Description
Render blade components inside HTML content
Author
Last update
2026/03/20 16:21 (dev-main)
License
Downloads
24 421

Comments
comments powered by Disqus

Render blade components inside HTML content

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This package is used internally for our projects (e.g. Sharp). It allows to render blade <x- components inside HTML content. For security reasons the content is not directly compiled in blade, instead it replace components with <x-dynamic-component> tag and pass HTML attributes. All attributes passed to component are strings. Attributes starting with : are not evaluated.

Installation

You can install the package via composer:

composer require code16/laravel-content-renderer

Testing

composer test

License

The MIT License (MIT). Please see License File for more information.