yubarajshrestha / html-dom-parser
This package a simple wrapper around Simple Html Dom Parser library. It provides a simple way to parse html and extract data from it.
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/yubarajshrestha/html-dom-parser
This package is auto-updated.
Last update: 2025-10-09 14:46:50 UTC
README
HtmlDomParser
This package a simple wrapper around Simple Html Dom Parser library.
How to?
Step 1: Install package
Install package by executing the command.
composer require yubarajshrestha/html-dom-parser
Step 2: Implement HtmlDomParser
use YubarajShrestha\HtmlDomParser\Parser; public function parse_tags() { $html = '<div> <ul> <li>PHP</li> <li>Python</li> </ul> </div>'; $parsed = Parser::str_get_html($html); }
Credit PHP Simple HTML DOM Parser