Registry / utility / symfony-dom-crawler

symfony-dom-crawler

JSON →
library8.1.0phppackagistunverified

Eases DOM navigation for HTML and XML documents

composer require symfony/dom-crawler
INSTALL
IMPORT
SIG · SYMFONY-DOM-CRAWLE
S
symfony-dom-crawler
utilityphpv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Crawler
✓ use Symfony\Component\DomCrawler\Crawler;

Parse HTML and extract content using CSS selectors

use Symfony\Component\DomCrawler\Crawler; $html = '<html><body><h1>Hello</h1></body></html>'; $crawler = new Crawler($html); echo $crawler->filter('h1')->text();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
symfony-dom-crawler — pip install symfony-dom-crawler · libregistry