2017 © Pedro Peláez
 

library html-parser

a simple html parser

image

flavius/html-parser

a simple html parser

  • Sunday, August 27, 2017
  • by FlaviusVespasianus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

html-parser

A very simple php parser of html documents which returns the amount of tags used in the document., (*1)

Currently there are two return data types: * array * xml, (*2)

An example of parsing a given source, (*3)

$parser = new Parser();
$parser->parse($source);        //$html may be a string, an url or a html document 
$parser->getTagsAsArray();      //to get found tags
$parser->getTagsAsXml();        //to get found tags as XML document

This source may be one of the following types:, (*4)

$source = '<div><strong>this is a string</strong></div>';  //string format
$source = '../file.html';                                  //file
$source = 'https://thepiratebay-proxylist.org/';           //link

The Versions

27/08 2017

dev-master

9999999-dev

a simple html parser

  Sources   Download

The Requires

  • php >=7.1

 

by Avatar FlaviusVespasianus

27/08 2017

v1.0

1.0.0.0

a simple html parser

  Sources   Download

The Requires

  • php >=7.1

 

by Avatar FlaviusVespasianus