2017 © Pedro Peláez
 

library dom

A minimal (X)HTML/XML parser for PHP

image

watoki/dom

A minimal (X)HTML/XML parser for PHP

  • Tuesday, May 10, 2016
  • by rtens
  • Repository
  • 1 Watchers
  • 3 Stars
  • 2,235 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

dom Build Status

A very simple (X)HTML/XML parser for PHP. It's goal is that the not manipulated output is as close as possible to the input. This means that it will parse most invalid mark-up without complains., (*1)

Usage

Include dom into your project with composer and then:, (*2)

$parser = new Parser('<my>Custom <html></html></my>');
$parser->getNodes()->first()->setName('Your');
$printer = new Printer();
echo $printer->printNodes($parser->getNodes()); // <Your>Custom <html></html></Your>

The Versions

10/05 2016

dev-master

9999999-dev http://github.com/watoki/dom

A minimal (X)HTML/XML parser for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

parser watoki

10/05 2016

v0.2

0.2.0.0 http://github.com/watoki/dom

A minimal (X)HTML/XML parser for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

parser watoki

09/05 2016

dev-emptyAttributes

dev-emptyAttributes http://github.com/watoki/dom

A minimal (X)HTML/XML parser for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

parser watoki

14/10 2014

v0.1

0.1.0.0 http://github.com/watoki/dom

A minimal (X)HTML/XML parser for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

parser watoki