Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yubarajshrestha/html-dom-parser
https://github.com/yubarajshrestha/html-dom-parser
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yubarajshrestha/html-dom-parser
- Owner: yubarajshrestha
- License: mit
- Created: 2021-12-08T12:12:30.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-09T05:58:40.000Z (about 3 years ago)
- Last Synced: 2024-12-12T06:32:51.882Z (about 1 month 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
[![Total Downloads](https://poser.pugx.org/yubarajshrestha/html-dom-parser/downloads)](https://packagist.org/packages/yubarajshrestha/html-dom-parser)
[![License](https://poser.pugx.org/yubarajshrestha/html-dom-parser/license)](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/)