symfony/dom-crawler
Symfony DomCrawler makes it easy to parse and navigate HTML/XML documents. It provides a fluent API to filter elements, extract text/attributes, follow links and forms, and integrates well with HttpClient and BrowserKit for web scraping and testing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| oscarotero/html-parser | 0.83 | Fast, lightweight HTML parser for PHP by Oscar Otero. Parse HTML into a DOM-like structure, query and traverse nodes, extract text/attributes, and handle real-world, imperfect markup. Useful for scraping, content cleanup, and transformations. | 16 | 18 | 1 | 197K | 0 | 22.8 | 65.0 | MIT | 2 years ago | |
| spatie/crawler | 0.83 | Fast, concurrent web crawler for PHP. Crawl sites, collect internal URLs with depth limits, and hook into crawl events. Can execute JavaScript via Chrome/Puppeteer for rendered pages. Includes fakes for testing crawl logic without real HTTP requests. | 2,803 | 2,801 | 368 | 627K | 0 | 55.7 | 38.2 | MIT | 2 weeks ago | |
| symfony/css-selector | 0.81 | Symfony CssSelector converts CSS selectors into XPath expressions, making it easy to query DOM documents with familiar CSS syntax. Useful for HTML/XML scraping, testing, and DOM traversal, with documentation and support via the main Symfony repository. | 7,442 | 7,479 | 43 | 12M | 0 | 55.9 | 52.4 | MIT | 1 week ago | |
| zenstruck/dom | 0.80 | Zenstruck DOM is a tiny PHP/Laravel-friendly library for working with HTML/XML DOM. It offers a simple, fluent API to query, traverse, and manipulate nodes, making scraping, testing, and HTML transformations easier than using raw DOMDocument/DOMXPath. | 4 | 4 | 3 | 910 | 0 | 0.4 | 32.0 | MIT | — |
How can I help you explore Laravel packages today?