https://github.com/code16/laravel-content-renderer
https://github.com/code16/laravel-content-renderer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/code16/laravel-content-renderer
- Owner: code16
- License: mit
- Created: 2024-01-16T16:04:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-13T10:44:42.000Z (3 months ago)
- Last Synced: 2026-01-13T11:56:29.426Z (3 months ago)
- Language: PHP
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Render blade components inside HTML content
[](https://packagist.org/packages/code16/laravel-content-renderer)
[](https://github.com/code16/laravel-content-renderer/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://packagist.org/packages/code16/laravel-content-renderer)
This package is used internally for our projects (e.g. [Sharp](https://github.com/code16/sharp)). It allows to render blade `` 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:
```bash
composer require code16/laravel-content-renderer
```
## Testing
```bash
composer test
```
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.