Laravel v12.4 has a new AsHtmlString Eloquent cast. The framework already has an `HtmlString` class available; this cast stitches it together with Eloquent attributes you can use.
The post Eloquent Cast for HTML Strings in Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.