code16/laravel-content-renderer

Render blade components inside HTML content

Maintainers

👁 code16

Package info

github.com/code16/laravel-content-renderer

pkg:composer/code16/laravel-content-renderer

Statistics

Installs: 30 049

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 1

v1.5.0 2026-03-20 15:21 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT f32cd7a1756191befada8e1305ef1003f2a7d5e5

  • code16 <antoine.woop@code16.fr>

laravelcode16laravel-content-renderer

This package is auto-updated.

Last update: 2026-05-20 15:43:48 UTC


README

👁 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.