Download the PHP package netzmacht/contao-dom-manipulator without Composer
On this page you can find all versions of the php package netzmacht/contao-dom-manipulator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package contao-dom-manipulator
Contao dom document manipulator
This extension integrates the PHP dom document manipulator into Contao.
Install
This library can be installed using composer
Usage
This extension hooks into the parseFrontendTemplate
and parseBackendTemplate
hook. It provides 4 events:
-
Netzmacht\Contao\DomManipulator\Events::CREATE_MANIPULATOR
It's the event which collects the rules and creates the manipulator. -
Netzmacht\Contao\DomManipulator\Events::START_MANIPULATE
It's just a state notification event. It's called before the manipulation starts. -
Netzmacht\Contao\DomManipulator\Events::STOP_MANIPULATE
It's just a state notification event. It's called before the manipulation stops. Netzmacht\Contao\DomManipulator\Events::LOAD_HTML
It's called right before the html is load into the manipulator. Use it to fix hml if something is going wrong when loading html into the dom.
To get more details how to create rules have a look at netzmacht/php-dom-manipulator.
Credits
This extension initially was extracted from the toflar/contao-css-class-replacer which is maintained by Yanick Witschi alias @Toflar.
All versions of contao-dom-manipulator with dependencies
contao/core Version >=3.2.13,<3.5-dev
contao-community-alliance/composer-plugin Version ~2.0
contao-community-alliance/dependency-container Version ~1.0
contao-community-alliance/event-dispatcher Version ~1.0
netzmacht/php-dom-manipulator Version ~1.0
symfony/stopwatch Version ~2.5