bicpi/html-converter
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| devanoxltd/php-html-parser | 0.84 | 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 | 28 | 0 | 0.9 | 20.2 | MIT | 1 year ago | |
| j0k3r/php-readability | 0.83 | PHP library that extracts the main readable content and title from web pages. Based on an improved full-text-rss Readability fork, it offers namespaced code, simple tests, optional Tidy HTML cleanup, and PSR-3 logging for debugging parsing issues. | 184 | 190 | 38 | 38K | 5 | 26.8 | 38.6 | Apache-2.0 | 3 months ago | |
| becklyn/search-text-transformer | 0.83 | 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 | 14 | 0 | 0.3 | 8.0 | BSD-3-Clause | 3 years ago | |
| misatotremor/case-bundle | 0.83 | AvroCaseBundle converts strings and arrays of strings between camelCase, kebab-case, PascalCase, Title Case, and underscore_case. Includes Twig filters (camel, kebab, pascal, title, underscore) and a configurable CaseConverter service for Symfony. | 1 | 1 | 1 | 78 | 0 | 13.3 | 24.2 | — | 5 months ago | |
| 24hoursmedia/php-dom-manipulations | 0.83 | Lightweight PHP helpers for manipulating HTML DOM documents. Create, find, update, replace, and remove nodes and attributes with a simple API suited for scraping, templating, and HTML cleanup tasks in legacy or modern PHP projects. | 0 | 0 | 0 | 13 | 1 | 0.4 | 15.8 | MIT | 9 years ago | |
| anh/markup-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| yiisoft/html | 0.83 | Yii HTML provides tools for dynamic server-side HTML generation in PHP: a dedicated class for each tag, a CustomTag class, widgets like ButtonGroup, CheckboxList and RadioList, automatic encoding with NoEncode, and an Html helper for creating tags and widgets. Requires PHP 8.1–8.5. | 59 | 58 | 23 | 38K | 6 | 20.0 | 44.1 | BSD-3-Clause | 5 months ago | |
| xemlock/htmlpurifier-html5 | 0.83 | HTML5 definitions and tidy/sanitization rules for HTML Purifier, aligned with the WHATWG spec. Purify and normalize dirty HTML5 into valid output with an HTML5-ready config, plus flexible directives (e.g., safely allow YouTube iframes). | 106 | 106 | 15 | 92K | 1 | 11.5 | 42.8 | MIT | 8 months ago | |
| html2text/html2text | 0.82 | — | 588 | 610 | 178 | 1M | 15 | 17.6 | 53.5 | — | 2 years ago | |
| paquettg/php-html-parser | 0.82 | 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,395 | 2,446 | 467 | 126K | 54 | 43.7 | 49.2 | MIT | — | |
| apie/type-converter | 0.82 | Apie type converter converts PHP objects into other objects, ideal for mapping DTOs to domain objects and back. It ships with default converters and lets you easily write your own. | 0 | 0 | 0 | 3K | 0 | 16.4 | 53.7 | MIT | 2 months ago | |
| apie/html-builders | 0.82 | 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 | 5 | 0 | 0.0 | 10.8 | MIT | — | |
| bicpi/html-converter-bundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 0.3 | — | — | 9 years ago | |
| weglot/simplehtmldom | 0.81 | Fork/packaged Simple HTML DOM for PHP via Composer. Provides an easy, jQuery-like API to parse, traverse, and manipulate HTML from strings or URLs, useful for scraping, testing, or quick DOM queries without heavy dependencies. | 0 | 0 | — | 101 | — | 0.3 | 27.7 | — | — | |
| emanueleminotto/simple-html-dom | 0.81 | Simple HTML DOM parser for PHP. Provides a lightweight API to load HTML from strings/files/URLs, traverse and query elements, and extract text/attributes. Handy for scraping, data extraction, and quick HTML manipulation without a full browser. | 11 | 17 | 8 | 530 | 0 | 0.6 | 22.9 | — | 11 years ago | |
| becklyn/html-builder | 0.81 | Lightweight PHP HTML builder for composing elements and attribute strings. Create HtmlElement nodes, render with escaping by default, support boolean/null/false attribute rules, and inject trusted raw HTML via SafeMarkup when needed. | 2 | 2 | 0 | 178 | 0 | 1.8 | 25.4 | BSD-3-Clause | 4 years ago | |
| voku/stringy | 0.81 | voku/stringy is a PHP string manipulation library with a fluent, chainable API and multibyte/Unicode-safe helpers. It offers common text utilities like trimming, casing, slugging, replacing, and comparisons, aiming for predictable results across encodings. | 180 | 187 | 24 | 57K | 1 | 1.9 | 34.9 | MIT | — | |
| nanopkg/laravel-bangla-text-converter | 0.80 | 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. | 9 | 10 | 4 | 0 | 0 | 2.1 | 0.8 | MIT | 3 years ago | |
| soundasleep/html2text | 0.80 | 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. | 481 | 486 | 139 | 546K | 9 | 10.6 | 47.8 | MIT | 3 years ago | |
| masterminds/html5 | 0.79 | HTML5-PHP is a standards-compliant HTML5 parser and serializer written entirely in PHP. It includes both a DOM tree builder and an event-based SAX-like parser, supports PHP namespaces and Composer, interoperates with QueryPath, and requires PHP 7.4+. Stable and widely used in production. | 1,787 | 1,808 | 126 | 16M | 26 | 50.1 | 74.8 | NOASSERTION | 1 week ago |
How can I help you explore Laravel packages today?