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

sunra/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.

  • Saturday, September 30, 2017
  • by Sunra
  • Repository
  • 46 Watchers
  • 879 Stars
  • 2,152,612 Installations
  • HTML
  • 103 Dependents
  • 1 Suggesters
  • 187 Forks
  • 25 Open issues
  • 6 Versions
  • 11 % Grown

The README.md

php-simple-html-dom-parser

Version 1.5.2, (*1)

Adaptation for Composer and PSR-0 of:, (*2)

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., (*3)

http://simplehtmldom.sourceforge.net/, (*4)

Install

composer.phar, (*5)

"require": {
    "sunra/php-simple-html-dom-parser": "1.5.2"
    }

Usage

use Sunra\PhpSimple\HtmlDomParser;

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

$elems = $dom->find($elem_name);
...

The Versions

30/09 2017

dev-master

9999999-dev https://github.com/sunra/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
  • ext-mbstring *

 

parser html dom

22/11 2016

v1.5.2

1.5.2.0 https://github.com/sunra/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
  • ext-mbstring *

 

parser html dom

20/05 2016

1.5.1.x-dev

1.5.1.9999999-dev https://github.com/sunra/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

20/05 2016

v1.5.1

1.5.1.0 https://github.com/sunra/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

20/05 2016

1.5.0.x-dev

1.5.0.9999999-dev https://github.com/sunra/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

04/05 2013

v1.5.0

1.5.0.0 https://github.com/sunra/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