voku/simple_html_dom
voku/simple_html_dom is a fast PHP HTML DOM parser and jQuery-style selector library. It wraps DOMDocument and Symfony CssSelector to find, extract, and manipulate HTML with UTF-8 and partial invalid-HTML support. Requires PHP 7.1+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| masterminds/html5 | 0.86 | 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 | |
| iloh/simple-html-dom-bundle | 0.86 | Symfony bundle integrating the simple-html-dom PHP library, exposing HTML parsing and DOM manipulation as a service. Parse, traverse, and edit HTML documents with a familiar API, simplifying scraping and document processing in Symfony applications. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| symfony/dom-crawler | 0.86 | 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 | 3 days ago | |
| simplehtmldom/simplehtmldom | 0.85 | simplehtmldom is a fast, flexible PHP HTML DOM parser that turns messy, invalid HTML into a traversable tree. Use jQuery-like selectors to find, extract, and manipulate elements, attributes, and text with minimal code. Lightweight, dependency-free, and ideal for scraping, templating, and document pr... | 189 | — | 55 | — | 0 | 3.0 | 0.8 | MIT | — | |
| voku/urlify | 0.85 | PHP URL slugifier/transliterator (URLify.js port) that converts UTF-8 strings into readable, URL-safe slugs and filenames. Supports many languages via mapping tables with Portable ASCII fallback, plus helpers like downcode/transliterate and custom char rules. | 25 | 27 | 5 | 57K | 1 | 0.8 | 47.2 | BSD-3-Clause | — | |
| windwalker/dom | 0.85 | Windwalker Dom is a PHP package for parsing, querying, and manipulating HTML and XML documents with an intuitive API. It offers node traversal, CSS-style selectors, and safe document building, making it handy for scraping, templating, and content transformation in Laravel or any Composer-based proje... | 9 | 9 | 0 | 5K | 0 | 0.0 | 37.4 | MIT | — | |
| roelofjan-elsinga/content-to-html-parser | 0.85 | A PHP package that converts structured content into clean HTML output. Define your content in a flexible format, then render it as ready-to-use markup in Laravel or any PHP application. | 0 | 0 | 0 | 377 | 0 | 0.4 | 35.6 | MIT | 7 years ago | |
| sunra/php-simple-html-dom-parser | 0.85 | A maintained PHP port of Simple HTML DOM for loading and manipulating HTML with jQuery-like CSS selectors. It provides an easy, forgiving API for scraping pages and extracting or editing elements, with Composer support for modern PHP versions. | 1,282 | — | 342 | — | 30 | 27.7 | 18.0 | — | 9 years ago |
|
| weglot/simplehtmldom | 0.84 | 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 | — | — | |
| wa72/html-pretty-min | 0.84 | wa72/html-pretty-min is a PHP library for minifying and pretty-printing HTML. It removes unnecessary whitespace to compress markup and can reformat HTML for readable output, helping optimize templates and generated pages. | 22 | 22 | 9 | 5K | 4 | 1.4 | 32.5 | MIT | 1 year ago | |
| voku/stringy | 0.84 | 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 | — | |
| vanilla/htmlawed | 0.84 | Laravel integration for HTMLawed, a PHP HTML sanitizer and validator. It cleans user-submitted markup, balances tags, filters unsafe attributes and elements, and helps preserve safe formatting in rich text. Useful for sanitizing comments, CMS content, and other untrusted HTML. | 40 | 42 | 15 | 8K | 3 | 1.8 | 32.5 | NOASSERTION | 3 years ago | |
| martyrer/simple-html-dom-bundle | 0.84 | A Symfony bundle that integrates PHP Simple HTML DOM into your application, giving you a convenient service for parsing and manipulating HTML using jQuery-like selectors. Load pages, traverse the DOM, and extract or edit elements with straightforward, readable syntax. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| 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 | |
| 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 | |
| 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 | |
| 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 | — | |
| mushroomcloud/simple-html-dom-bundle | 0.84 | A Symfony bundle that integrates the Simple HTML DOM library, offering service configuration for parsing, traversing, and manipulating HTML documents in PHP. Handy for scraping, content extraction, and DOM-style edits in Symfony apps. | 0 | 0 | 0 | 317 | 0 | 16.0 | 39.4 | MIT | 2 months ago | |
| voku/anti-xss | 0.84 | AntiXSS is a lightweight PHP library for filtering malicious input and preventing cross-site scripting attacks. It cleans user-supplied strings and arrays, with support for custom sanitizing, making it a simple drop-in defense for web forms and input handling. | 711 | 729 | 121 | 439K | 1 | 26.5 | 44.9 | MIT | 4 weeks ago | |
| anahkiasen/html-object | 0.84 | HtmlObject brings object-oriented HTML generation to PHP and Laravel. Build tags, lists, tables, and forms through a fluent, chainable API instead of messy string concatenation. Each element is a dedicated class you can extend, keeping markup clean, reusable, and easy to maintain. | 128 | — | 21 | — | 4 | 2.5 | 1.5 | MIT | 9 years ago |
|
How can I help you explore Laravel packages today?