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.
None
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ~4 |
| symfony/dependency-injection | ~2.4 |
| symfony/http-kernel | ~2.4 |
| twig/twig | ~1 |
How can I help you explore Laravel packages today?