soundasleep/html2text
Convert HTML to readable plain text in PHP. soundasleep/html2text extracts meaningful content from messy markup, handling links, lists, tables and whitespace with configurable formatting—ideal for emails, scraping, logs and text-only previews.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bicpi/html-converter | 0.85 | PHP library for converting HTML to plain text, ideal for generating text parts of HTML emails. Includes Simple (strip_tags), Lynx (best results, keeps links), Html2Text, and Chain converter to pick the first available backend. | 11 | 12 | 13 | 0 | 0 | 0.5 | — | MIT | — | |
| bicpi/html-converter-bundle | 0.83 | — | 0 | 0 | 1 | 0 | 0 | 0.3 | — | — | 9 years ago | |
| sensiolabs/ansi-to-html | 0.83 | Convert ANSI-colored console output into an HTML5 fragment. Supports themes (e.g., Solarized), inline styles or CSS classes, can export theme CSS, and includes a Twig extension for easy use in templates. | 252 | 257 | 37 | 108K | 9 | 5.2 | 39.6 | MIT | — | |
| becklyn/search-text-transformer | 0.82 | Converts HTML into clean, searchable plain text for indexing with search engines like Elasticsearch. Use SearchTextTransformer to strip tags and normalize content, making page text suitable for full‑text search and highlighting. | 4 | 4 | 0 | 0 | 0 | 0.3 | — | BSD-3-Clause | 3 years ago | |
| nickcernis/html-to-markdown | 0.82 | Convert HTML into clean, readable Markdown in PHP. Parse tags and structure into Markdown output with configurable rules, custom converters, and strong defaults—handy for scraping, email content, CMS migrations, and turning rich text into Markdown for storage or editing. | 1,889 | 1,886 | 216 | 1K | 14 | 29.9 | 10.4 | MIT | 2 years ago | |
| s9e/text-formatter | 0.82 | PHP text formatting library with plugin support for BBCode, Markdown, HTML, and more. Includes predefined bundles, extensive documentation, and a JavaScript port for client-side preview and demos. Install via Composer and integrate customizable parsing/rendering. | 0 | 250 | — | 57K | — | 21.7 | 36.9 | — | — | |
| nanopkg/laravel-bangla-text-converter | 0.82 | Laravel package to convert Bengali text between Unicode and Bijoy encodings. Use the BanglaTextConverter facade to quickly transform strings (toBijoy/toUnicode) in your app, with simple Composer install and test support. | 0 | 10 | — | 0 | — | 2.1 | 0.8 | — | — | |
| j0k3r/php-readability | 0.81 | Extracts the main article content and title from messy web pages in PHP. Improved fork of php-readability with tests, namespacing, and optional HTML cleanup via Tidy (or libxml). Supports PSR-3 logging for debugging. | 184 | 190 | 38 | 27K | 6 | 20.9 | 37.8 | Apache-2.0 | 2 months ago | |
| paquettg/php-html-parser | 0.81 | Fast, lightweight HTML parser for PHP that turns messy markup into a DOM-like tree. Crawl and scrape pages, query elements with CSS selectors, and extract text/attributes easily. Works with imperfect HTML and focuses on simple, fluent usage. | 2,403 | 2,453 | 469 | 89K | 54 | 43.8 | 26.8 | MIT | — | |
| apie/html-builders | 0.80 | HTML builder utilities for the Apie ecosystem. Provides internal components to generate and compose HTML fragments in PHP, used by other Apie packages. Developed in the Apie monorepo; limited standalone documentation available. | 0 | 0 | 0 | 14 | 0 | 0.0 | 16.2 | MIT | — | |
| knplabs/knp-markdown-bundle | 0.80 | — | 412 | 432 | 48 | 21K | 0 | 3.9 | 16.7 | MIT | 4 years ago | |
| html2text/html2text | 0.80 | — | 591 | 613 | 176 | 823K | 15 | 17.2 | 49.0 | — | 1 year ago | |
| devanoxltd/php-html-parser | 0.80 | Lightweight PHP HTML parser with jQuery-style CSS selectors. Load HTML from strings or files, handle imperfect markup, and traverse nodes (attributes, innerHtml, siblings). Ideal for quick web scraping and DOM extraction in PHP 7.2–7.4. | 0 | 0 | 0 | 1 | 0 | 5.3 | 4.3 | MIT | 9 months ago | |
| baudev/php-object-converter-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 7 years ago | |
| judev/php-htmltruncator | 0.79 | — | 26 | 28 | 6 | 5K | 3 | 1.0 | 32.2 | MIT | — | |
| twig/markdown-extra | 0.79 | Twig extension adding Markdown support to templates. Provides markdown_to_html and html_to_markdown filters to convert Markdown blocks to HTML and turn HTML back into Markdown, making it easy to render or edit rich content in Twig views. | 121 | 122 | 7 | 568K | 0 | 21.7 | 59.4 | MIT | 2 weeks ago | |
| league/html-to-markdown | 0.79 | — | 1,889 | 1,902 | 216 | 1M | 14 | 29.9 | 45.8 | MIT | 2 years ago | |
| bookdown/themes | 0.69 | Bookdown theme template with Bootswatch skins and Prism syntax highlighting. Configure TOC behavior in bookdown.json, pick Bootswatch/Prism styles via CSS_BOOTSWATCH and CSS_PRISM env vars, and optionally set a custom top menu logo with MENU_LOGO. | 11 | 11 | 2 | 2K | 0 | 1.0 | 29.5 | NOASSERTION | 7 years ago |
How can I help you explore Laravel packages today?