php-extended/php-html-transformer-suite

Metapackage that lists all the packages that are html transformers


Keywords
php, configuration, html, transformer, suite
License
MIT

Documentation

php-html-transformer-suite

Metapackage that lists all the packages that are html transformers.

Installation

The installation of this library is made via composer. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		...
		"php-extended/php-html-transformer-suite": "^2"
		...
	}

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

Included packages

Cascaded packages

Those packages are not explicitely declared but included by the cascade of dependancies :

Basic Usage

You may use this package the following way:


use PhpExtended\Html\HtmlTransformerFactoryConfiguration;
use PhpExtended\Html\HtmlTransformerFactory;

$config = new HtmlTransformerFactoryConfiguration();
$config->setLogger($logger); // a psr-3 compliant logger
$factory = new HtmlTransformerFactory($config);
$transformer = $factory->createNewTransformer();
// $transformer is now an HtmlTransformerInterface

License

MIT (See license file).