2017 © Pedro Peláez
 

library htmlextractor

PHP - HTML Table Extractor

image

nanaksr/htmlextractor

PHP - HTML Table Extractor

  • Thursday, November 23, 2017
  • by nanaksr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 17 % Grown

The README.md

HTML Extractor

PHP - HTML Table Extractor, (*1)

Installation

Via composer:, (*2)

composer require nanaksr/htmlextractor @dev

Quick Start and Example

require __DIR__ . '/vendor/autoload.php';

use \nanaksr\htmlextractor;

$source = @file_get_contents(__DIR__ . '/yout/file/path.htm', FILE_USE_INCLUDE_PATH);
if (!$source){
    echo "Data Source Not Found";
    exit();
}
$tblExt = new htmlextractor;
$tblExt->source = $source; 
$tblExt->anchor = 'id';
$tblExt->stripTags = true;  
$tblExt->anchorWithin = true; 
$tblExt->headerRow = false; 
$ShowdataArray = $tblExt->extractTable();

The Versions

23/11 2017

dev-master

9999999-dev https://github.com/nanaksr/htmlextractor

PHP - HTML Table Extractor

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by nanak suryana

php html dom extractelement

23/11 2017

1.0.1

1.0.1.0 https://github.com/nanaksr/htmlextractor

PHP - HTML Table Extractor

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by nanak suryana

php html dom extractelement

23/11 2017

1.0

1.0.0.0 https://github.com/nanaksr/htmlextractor

PHP - HTML Table Extractor

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by nanak suryana

php html dom extractelement