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. | 244 | 252 | 42 | 125K | 9 | 15.0 | 41.4 | MIT | 11 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. | 197 | 202 | 39 | 6K | 23 | 13.0 | 32.2 | 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 | DomCrawler eases DOM navigation for HTML and XML documents, letting you query, filter, and extract content with CSS selectors and XPath. Part of the Symfony framework. | 4,024 | 4,101 | 125 | 12M | 0 | 56.7 | 56.5 | MIT | 2 days 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,035 | 137 | 763K | 39 | 25.4 | 53.9 | 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,395 | 2,446 | 467 | 126K | 54 | 43.7 | 49.2 | 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 | 127K | 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 | 0.5 | MIT | — | |
| j0k3r/php-readability | 0.84 | 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 | |
| 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 | 530 | 0 | 0.6 | 22.9 | — | 11 years ago | |
| mjohnson/decoda | 0.84 | — | 193 | 197 | 48 | 13K | 8 | 5.0 | 27.9 | MIT | 3 years ago | |
| html2text/html2text | 0.83 | — | 588 | 610 | 178 | 1M | 15 | 17.6 | 53.5 | — | 2 years 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 | — | 101 | — | 0.3 | 27.7 | — | — | |
| 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 | 12 | 5 | 1.4 | 4.5 | 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 | 13 | 1 | 0.4 | 15.8 | 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 | 14 | 0 | 0.3 | 8.0 | BSD-3-Clause | 3 years ago | |
| pear/html_common2 | 0.83 | — | 1 | 1 | 2 | 9K | 0 | 0.1 | 50.8 | — | — | |
| 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. | 843 | 864 | 131 | 179K | 75 | 37.4 | 60.0 | MIT | 8 months ago | |
| masterminds/html5 | 0.83 | 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?