PHPackages                             heimrichhannot/truncate-html - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. heimrichhannot/truncate-html

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

heimrichhannot/truncate-html
============================

Handle truncate action on HTML strings

2.0.0(4y ago)027.6k↓50%MITPHP &gt;=5.5.9

Since May 25Compare

[ Source](https://github.com/heimrichhannot/truncateHTML)[ Packagist](https://packagist.org/packages/heimrichhannot/truncate-html)[ RSS](/packages/heimrichhannot-truncate-html/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/heimrichhannot/truncateHTML).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity62

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~563 days

Recently: every ~703 days

Total

6

Last Release

1561d ago

Major Versions

0.0.2 → 1.0.02014-05-25

1.0.2 → 2.0.02022-02-07

PHP version history (2 changes)0.0.1PHP &gt;=5.3.3

1.0.2PHP &gt;=5.5.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Tags

htmlcontentshortentruncatetruncating

### Embed Badge

![Health badge](/badges/heimrichhannot-truncate-html/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-truncate-html/health.svg)](https://phpackages.com/packages/heimrichhannot-truncate-html)
```

###  Alternatives

[urodoz/truncate-html

Handle truncate action on HTML strings

21294.0k6](/packages/urodoz-truncate-html)[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M157](/packages/willdurand-negotiation)[j0k3r/php-readability

Automatic article extraction from HTML

186808.8k6](/packages/j0k3r-php-readability)[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
