devanoxltd/php-html-parser
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| s9e/text-formatter | 0.85 | 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. | 243 | 250 | 42 | 74K | 3 | 18.1 | 37.5 | MIT | 8 months ago | |
| mf2/mf2 | 0.85 | Pure PHP microformats2 parser that turns HTML into structured data. Uses generic rules (p-, u-, etc.) rather than hard-coded formats, keeping the parser small and maintainable. Install via Composer; optionally uses masterminds/html5 for better HTML5 parsing. | 199 | 202 | 39 | 6K | 22 | 12.6 | 30.8 | CC0-1.0 | 4 years ago | |
| deepslam/content-parser | 0.84 | Laravel 5 package to extract a web page’s main content and title using automatic algorithms. Supports Graby (default) and Mercury API parsers, with an extensible architecture and optional HTML cleanup (remove CSS/style attrs, strip tags) for clean output. | 3 | 3 | 1 | 0 | 1 | 2.2 | — | — | 9 years ago | |
| symfony/dom-crawler | 0.84 | Symfony DomCrawler makes it easy to parse and navigate HTML/XML using a fluent, CSS/XPath-friendly API. Ideal for scraping, testing responses, and extracting data from markup, with smooth integration across the Symfony ecosystem. | 4,031 | 4,108 | 125 | 7M | 0 | 53.8 | 52.2 | MIT | 1 month ago | |
| cebe/markdown | 0.84 | Fast, extensible PHP Markdown parser with classes for multiple flavors (Traditional, GitHub Flavored, and partial Markdown Extra) plus a CLI to convert .md to HTML. Designed for speed, easy customization, and AST-based hooks for extensions. | 1,011 | 1,034 | 137 | 485K | 38 | 25.1 | 51.2 | MIT | 8 years ago | |
| paquettg/php-html-parser | 0.84 | 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,401 | 2,448 | 468 | 92K | 54 | 43.7 | 47.4 | MIT | — | |
| s9e/sweetdom | 0.84 | SweetDOM is a lightweight PHP library for fast DOM parsing and manipulation. It offers a simple, jQuery-like API to find, traverse, and edit HTML/XML documents, making common scraping and transformation tasks easier without heavy dependencies. | 3 | 3 | 1 | 76K | 0 | 4.2 | 55.3 | MIT | 2 years ago | |
| bicpi/html-converter | 0.84 | 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 | 1 | 0 | 0.5 | — | MIT | — | |
| j0k3r/php-readability | 0.84 | 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 | 39K | 5 | 32.0 | 41.6 | Apache-2.0 | 3 weeks ago | |
| emanueleminotto/simple-html-dom | 0.84 | 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 | 362 | 0 | 0.6 | 21.1 | — | 10 years ago | |
| mjohnson/decoda | 0.84 | — | 192 | 197 | 48 | 13K | 8 | 5.0 | 27.9 | MIT | 3 years ago | |
| html2text/html2text | 0.83 | — | 590 | 612 | 177 | 845K | 15 | 17.3 | 49.6 | — | 1 year ago | |
| weglot/simplehtmldom | 0.83 | 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 | — | 0 | — | 0.0 | — | — | — | |
| fluxbb/commonmark | 0.83 | Laravel-friendly CommonMark utilities from FluxBB: parse, render, and work with Markdown/CommonMark content in PHP with sensible defaults and integration patterns suited to Laravel apps. Lightweight package aimed at consistent, safe content rendering. | 15 | 15 | 1 | 6 | 5 | 1.4 | 3.0 | MIT | — | |
| 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 | 12 | 1 | 0.4 | 18.5 | MIT | 9 years 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 | 0 | 0 | 0.3 | — | BSD-3-Clause | 3 years ago | |
| pear/html_common2 | 0.83 | — | 1 | 1 | 2 | 8K | 0 | 0.1 | 50.0 | — | — | |
| egyg33k/domain-parser-bundle | 0.83 | — | 0 | 0 | 1 | 0 | 0 | 0.6 | — | — | 10 years ago | |
| erusev/parsedown-extra | 0.83 | Parsedown Extra is a fast, lightweight PHP Markdown parser with built-in support for Markdown Extra features like tables, footnotes, definition lists, and fenced code blocks. Ideal for rendering user content safely and quickly in PHP apps. | 845 | 864 | 132 | 179K | 75 | 42.5 | 62.1 | MIT | 5 months ago | |
| masterminds/html5 | 0.83 | Standards-compliant HTML5 parser and serializer for PHP. Provides SAX-like event parsing, DOM tree building, namespace support, Composer install, and interoperability with QueryPath. Stable and widely used in production. | 1,781 | 1,806 | 120 | 10M | 29 | 48.9 | 71.5 | NOASSERTION | 1 month ago |
How can I help you explore Laravel packages today?