A library that implements the php-extended/php-html-transformer-interface
An implementation of the php-http-transformer-object-interface library
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
composer.pharfrom their website.
- Then run the following command to install this library as dependency :
php composer.phar php-extended/php-html-transformer-object ^6
You may use this package the following way:
use PhpExtended\Html\HtmlTransformerFactoryConfiguration; use PhpExtended\Html\HtmlTransformerFactory; $config = new HtmlTransformerobjectConfiguration(); $config->setLogger($logger); // a psr-3 compliant logger $object = new HtmlTransformerFactory($config); $transformer = $object->createNewTransformer(); // $transformer is now an HtmlTransformerInterface
MIT (See license file).