2017 © Pedro Peláez
 

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.

image

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

The README.md

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)

The Versions

02/04 2013

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

  • php >=5.3.2

 

parser html dom