Skip to content

filipemansano/simplehtmldom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wrapper for simplehtmldom 1.8

Install via "composer require"

composer require filipemansano/simplehtmldom

Quick Start

require_once 'composer/autoload.php';

use FilipeMansano\PhpSimple\HtmlDomParser;

...
$dom = HtmlDomParser::str_get_html($str);
// or 
$dom = HtmlDomParser::file_get_html($file);

$elems = $dom->find('#css-selector');

Documentation

http://simplehtmldom.sourceforge.net/

About

Wrapper for SimpleHtmlDom

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages