https://github.com/yubarajshrestha/html-dom-parser
https://github.com/yubarajshrestha/html-dom-parser
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yubarajshrestha/html-dom-parser
- Owner: yubarajshrestha
- License: mit
- Created: 2021-12-08T12:12:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-09T05:58:40.000Z (over 3 years ago)
- Last Synced: 2025-03-26T14:13:22.803Z (3 months ago)
- Language: PHP
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### HtmlDomParser
[](https://packagist.org/packages/yubarajshrestha/html-dom-parser)
[](https://packagist.org/packages/yubarajshrestha/html-dom-parser)This package a simple wrapper around **_Simple Html Dom Parser_** library.
### How to?
#### Step 1: Install package
Install package by executing the command.
```shell
composer require yubarajshrestha/html-dom-parser
```#### Step 2: Implement HtmlDomParser
```php
use YubarajShrestha\HtmlDomParser\Parser;public function parse_tags()
{
$html = '';
- PHP
- Python
$parsed = Parser::str_get_html($html);
}
```**Credit**
[PHP Simple HTML DOM Parser](https://simplehtmldom.sourceforge.io/)