PHPackages                             baraja-core/html-to-text - 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. baraja-core/html-to-text

ActiveLibrary

baraja-core/html-to-text
========================

HTML to plaintext convertor.

v2.0.1(4y ago)139.4k↓100%1PHPPHP ^8.0

Since Feb 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/baraja-core/html-to-text)[ Packagist](https://packagist.org/packages/baraja-core/html-to-text)[ Docs](https://github.com/baraja-core/html-to-text)[ RSS](/packages/baraja-core-html-to-text/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (7)Used By (1)

HTML to text convertor
======================

[](#html-to-text-convertor)

[![Integrity check](https://github.com/baraja-core/html-to-text/workflows/Integrity%20check/badge.svg)](https://github.com/baraja-core/html-to-text/workflows/Integrity%20check/badge.svg)

A PHP library for converting HTML to formatted plain text.

📦 Installation
--------------

[](#-installation)

It's best to use [Composer](https://getcomposer.org) for installation, and you can also find the package on [Packagist](https://packagist.org/packages/baraja-core/html-to-text) and [GitHub](https://github.com/baraja-core/html-to-text).

To install, simply use the command:

```
$ composer require baraja-core/html-to-text
```

You can use the package manually by creating an instance of the internal classes, or register a DIC extension to link the services directly to the Nette Framework.

📄 License
---------

[](#-license)

`baraja-core/html-to-text` is licensed under the MIT license. See the [LICENSE](https://github.com/baraja-core/html-to-text/blob/master/LICENSE) file for more details.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% of commits — single point of failure

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 ~215 days

Total

3

Last Release

1488d ago

Major Versions

v1.0.0 → v2.0.02021-02-10

PHP version history (2 changes)v1.0.0PHP &gt;=7.4.0

v2.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3382204?v=4)[baraja](/maintainers/baraja)[@baraja](https://github.com/baraja)

---

Top Contributors

[![janbarasek](https://avatars.githubusercontent.com/u/4738758?v=4)](https://github.com/janbarasek "janbarasek (16 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

convertorhtmltexttxt

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/baraja-core-html-to-text/health.svg)

```
[![Health](https://phpackages.com/badges/baraja-core-html-to-text/health.svg)](https://phpackages.com/packages/baraja-core-html-to-text)
```

###  Alternatives

[baraja-core/doctrine

Doctrine port to Nette 3.0 with maximal performance.

13276.7k23](/packages/baraja-core-doctrine)[baraja-core/cms

Simple smart CMS for Nette and Vue.js.

1667.6k3](/packages/baraja-core-cms)[baraja-core/image-generator

Full automatic ImageGenerator for creating dynamic content by URL.

1355.1k1](/packages/baraja-core-image-generator)

PHPackages © 2026

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