2017 © Pedro Peláez
 

library php-dom-manipulator

This library is an html dom document manipulator.

image

netzmacht/php-dom-manipulator

This library is an html dom document manipulator.

  • Monday, August 24, 2015
  • by netzmacht
  • Repository
  • 2 Watchers
  • 0 Stars
  • 286 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

PHP Dom document manipulator

Build Status Version License Downloads, (*1)

This library provides a rule based dom document manipulator., (*2)

Install

This library can be installed using composer, (*3)

$ php composer.phar require netzmacht/php-dom-manipulator:~1.0
$ php composer.phar update

Usage

<?php 

$converter   = new Netzmacht\DomManipulator\Converter\DomDocumentConverter();
$manipulator = new Netzmacht\DomManipulator\DomManipulator($converter);

$query = new Netzmacht\DomManipulator\Query\XPathQuery('xpath query');
$rule  = new Netzmacht\DomManipulator\Rule\AttributeRule($query, 'class');

$result = $manipulator
    ->addRule($rule)
    ->loadHtml('<html>   </html>')
    ->manipulate();

Credits

This library initially was extracted from the toflar/contao-css-class-replacer which is maintained by Yanick Witschi alias @Toflar., (*4)

The Versions

24/08 2015

dev-master

9999999-dev

This library is an html dom document manipulator.

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

html dom document manipulate

24/08 2015

1.0.2

1.0.2.0

This library is an html dom document manipulator.

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

html dom document manipulate

22/08 2015

dev-develop

dev-develop

This library is an html dom document manipulator.

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

html dom document manipulate

17/12 2014

1.0.1

1.0.1.0

This library is an html dom document manipulator.

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

html dom document manipulate

15/12 2014

1.0.0

1.0.0.0

This library is an html dom document manipulator.

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.2

 

The Development Requires

html dom document manipulate