https://github.com/code16/laravel-content-renderer
https://github.com/code16/laravel-content-renderer
Last synced: 3 months 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: 2025-02-25T07:15:38.000Z (11 months ago)
- Last Synced: 2025-09-07T07:52:05.378Z (5 months ago)
- Language: PHP
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
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.