2017 © Pedro Peláez
 

package heading-parser

php parser for html heading -starting from H2- as content table

image

ibraheem-ghazi/heading-parser

php parser for html heading -starting from H2- as content table

  • Sunday, February 11, 2018
  • by IbraheemAlnabriss
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

heading-parser

php parser for html heading starting from H2 to H6 as content table, (*1)

Install

 $ composer require ibraheem-ghazi/heading-parser

Functions

parse($code), (*2)

paramters:
$code // the html code for topic or post

return array of HtmlHeading 

Example:, (*3)

<?php

require 'vendor/autoload.php';

use IbraheemGhazi\HeadingParser\HtmlHeadingParser;

$code = "";
$code  .= "

Heading 2

"; $code .= "

Heading 3

"; $code .= "

Heading 4

"; $code .= "

Heading 4

"; $code .= "
Heading 5
"; $code .= "

Heading 4

"; $code .= "

Heading 3

"; $code .= "

Heading 2

"; $code .= "

Heading 3

"; $code .= "

Heading 3

"; $code .= "

Heading 4

"; $code .= "
Heading 5
"; $code .= "
Heading 5
"; $code .= "
Heading 6
"; $code .= "

Heading 2

"; var_dump(HtmlHeadingParser::parse($code));

The Versions

11/02 2018

dev-master

9999999-dev

php parser for html heading -starting from H2- as content table

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Ibraheem Ghazi

parser php html table content post topic heading

11/02 2018

1.0.0

1.0.0.0

php parser for html heading -starting from H2- as content table

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Ibraheem Ghazi

parser php html table content post topic heading