Skip to content

yubarajshrestha/html-dom-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HtmlDomParser

Total Downloads License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages