Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Truncate Html Laravel Package

urodoz/truncate-html

urodoz/truncate-html is a lightweight PHP library for safely truncating HTML strings to a chosen length without breaking tags. It preserves valid markup, supports custom ellipsis and encoding, and is ideal for generating clean excerpts from rich text in Laravel or any PHP project.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
jolicode/jolitypo 0.84 JoliTypo is a PHP typography fixer that cleans up HTML fragments: smart quotes, dashes, ellipses, non-breaking spaces, and French typography rules. It offers customizable fixers and works well in Laravel or any PHP project. 352 355 29 4K 0 20.4 17.8 MIT 1 month ago
View on GitHub
pixel418/markdownify 0.83 Markdownify is a fast, extensible PHP library that converts HTML into clean Markdown. It handles common HTML elements, supports custom converters, and integrates easily into Laravel or any PHP project for generating readable Markdown from web content. 196 198 43 31K 4 11.4 33.6 MIT 7 months ago
View on GitHub
alfredo-ramos/parsedown-extra-laravel 0.83 Laravel integration for Parsedown Extra, bringing Markdown parsing with support for tables, footnotes, and other extended syntax to your Blade views and PHP code through a simple facade and service provider. 27 30 1 166 0 0.2 11.6 GPL-3.0 —
View on GitHub
judev/php-htmltruncator 0.83 — 26 28 6 4K 3 1.0 29.9 MIT —
View on GitHub
backstage/laravel-minify-html-middleware 0.83 A Laravel middleware that minifies HTML responses on the fly, trimming whitespace and redundant markup to shrink payloads and speed up page delivery without touching your views or blade templates. 6 6 0 1K 2 0.4 31.2 MIT —
View on GitHub
cartalyst/interpret 0.83 Cartalyst Interpret is a lightweight Laravel package for interpreting and structuring data. It offers a clean, expressive API that centralizes parsing logic, keeping controllers and services concise and readable while integrating smoothly with the wider Cartalyst ecosystem. 19 19 5 1K 1 0.6 24.1 BSD-3-Clause 9 years ago
View on GitHub
league/html-to-markdown 0.82 Convert HTML to Markdown in PHP with league/html-to-markdown. Create an HtmlConverter, pass valid HTML to convert(), and get clean Markdown back. Useful for editing legacy HTML, storing content as HTML while authoring in Markdown, and turning HTML email into plain text. 0 1,923 — 2M — 9.6 55.3 — —
View on GitHub
fahlisaputra/laravel-minify 0.82 A Laravel middleware package that minifies HTML, CSS, and JavaScript responses on the fly. Reduce page size and improve load times with simple configuration, optional caching, and support for custom minifier drivers—no build tools required. 148 149 23 27K 13 16.1 38.5 MIT 6 months ago
View on GitHub
tomjamon/laravel-custom-html 0.82 A Laravel package for managing and rendering custom HTML content in your applications. Define reusable HTML snippets, output them in Blade views, and keep custom markup organized with a simple, framework-friendly API. 0 10 — 0 — 0.0 — — —
View on GitHub
wa72/html-pretty-min 0.82 wa72/html-pretty-min is a PHP library for minifying and pretty-printing HTML. It removes unnecessary whitespace to compress markup and can reformat HTML for readable output, helping optimize templates and generated pages. 22 22 9 5K 4 1.4 32.5 MIT 1 year ago
View on GitHub
htmlmin/htmlmin 0.82 A Laravel middleware package that minifies HTML responses by removing extra whitespace, comments, and redundant markup, reducing page size and improving load times. Easy to install and configurable for production use. 1,018 1,027 115 13K 31 17.9 26.3 MIT 4 years ago
View on GitHub
hnhdigital-os/laravel-html-generator 0.82 A Laravel package that generates HTML programmatically, offering a fluent builder API for creating tags, forms, and reusable components. Build clean, consistent markup directly in PHP instead of cluttering Blade templates, with chainable methods for attributes, content, and nesting. Useful for dynam... 2 2 0 0 0 0.0 — MIT 3 years ago
View on GitHub
larahook/purifier 0.82 Laravel wrapper for HTMLPurifier that cleans and sanitizes untrusted HTML before it reaches your views. Filter user-generated content through a simple, configurable API to strip XSS and other malicious markup while preserving safe formatting. 2 2 0 735 0 8.1 35.3 MIT 7 months ago
View on GitHub
league/commonmark 0.82 league/commonmark is a highly extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. It offers simple converters, customizable options, extensions, and safe HTML handling. Requires PHP 7.4+ and mbstring. 2,982 3,021 223 20M 15 57.2 68.5 BSD-3-Clause 1 week ago
View on GitHub
webwizo/laravel-shortcodes 0.82 Add WordPress-style shortcodes to any Laravel app. Register custom shortcode classes, then use them in Blade views, content, or emails. Supports attributes, self-closing and enclosing tags, with a clean API for parsing and rendering dynamic content. 218 — 52 — 4 21.0 0.9 MIT 2 months ago
View on GitHub
Context7
nickcernis/html-to-markdown 0.82 Converts HTML to Markdown for PHP 7.2+, letting you edit existing HTML content as Markdown, store HTML while editing in Markdown, or turn HTML email into plain text. Install via Composer. 1,909 1,909 216 331 5 46.7 5.6 MIT 2 weeks ago
View on GitHub
tinymce/tinymce 0.81 TinyMCE is the world’s most popular open-source WYSIWYG rich text editor, trusted by millions of developers. It offers highly customizable, scalable editing with classic, inline, and distraction-free modes, plus React, Vue, and Angular integrations. 169 202 153 297K 0 5.5 44.8 NOASSERTION —
View on GitHub
Context7
zaininnari/html-minifier 0.81 A Laravel/PHP package for minifying HTML output by removing unnecessary whitespace, comments, and redundant markup. It helps reduce response size and improve delivery speed, with simple configuration for adding HTML compression to your application. 61 62 16 4K 4 1.8 25.2 NOASSERTION —
View on GitHub
styde/html 0.81 Styde Html provides expressive HTML and form builders for Laravel, making it easy to generate links, inputs, buttons, and forms with CSRF protection, model binding, old input, and customizable macros. 263 268 88 381 13 7.8 9.8 MIT 7 years ago
View on GitHub
tp/redactor-bundle 0.81 A PHP bundle that integrates the Redactor WYSIWYG editor into your application, providing centralized editor configuration, asset loading, and reusable form integration. Helps add rich-text editing to admin screens and content forms with less setup and consistent settings across your project. 0 5 — 0 — 0.0 — — —
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log