library php-simple-html-dom-parser
Composer adaptation of: A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.
bupychuk/php-simple-html-dom-parser
Composer adaptation of: A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.
- Tuesday, April 2, 2013
- by BupycHuk
- Repository
- 1 Watchers
- 0 Stars
- 177 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
PHP-Simple-HTML-DOM-Parser
PHP Simple HTML DOM Parser - bundle for laravel, (*1)
Parsing data from html or xml websites or strings, (*2)
You can use jQuery selector syntax, more in documentation., (*3)
example:, (*4)
$HDM = IoC::resolve('HtmlDomParser');
// Get from file
$dom = $HDM::file_get_html( 'http://www.google.com/finance/converter' );
// Get from string
$dom = $HDM::str_get_html( '<html><a href="http://laravel.com/"></html>' );
$href = $dom->find('a',0)->href; // = "http://laravel.com/"
php simple html dom Documentation, (*5)
dev-master
9999999-dev
https://github.com/bupychuk/php-simple-html-dom-parser
Composer adaptation of: A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.
Sources
Download
MIT
The Requires
parser
html
dom