New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

code16/laravel-content-renderer

Render blade components inside HTML content
37,964
Install
composer require code16/laravel-content-renderer
Latest Version:v1.5.0
PHP:8.3.*|8.4.*|8.5.*
Laravel:11 · 12 · 13
Older releases:10
License:MIT
Last Updated:Mar 20, 2026
Links: GitHub  ·  Packagist
Maintainer: code16

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.

Related Packages

code16/occulta

Store an encrypted with kms and versioned copy of .env

2,451 0
code16/livewire-helpers

A bunch of helpers for our livewire projects

2,041 1
code16/embed

Embed laravel blade component + validation

12,364 3
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982

Version History

Version Released PHP Laravel License
v1.5.0 8.3.*|8.4.*|8.5.* ^11.0|^12.0|^13.0 MIT
v1.4.0 8.1.*|8.2.*|8.3.*|8.4.*|8.5.* ^10.0|^11.0|^12.0 MIT
v1.3.1 8.1.*|8.2.*|8.3.*|8.4.*|8.5.* ^10.0|^11.0|^12.0 MIT
v1.3.0 8.1.*|8.2.*|8.3.*|8.4.* ^10.0|^11.0|^12.0 MIT
v1.2.1 ^8.1|^8.2|^8.3 ^10.0|^11.0 MIT