a9f/fractor-xml
XML extension for the File Read-Analyse-Change Tool. Allows modifying XML files
Maintainers
v0.5.11
2026-06-17 11:43 UTC
Requires
- php: ^8.2
- ext-dom: *
- ext-xml: *
- a9f/fractor: ^0.5.11
- a9f/fractor-extension-installer: ^0.5.11
- simonschaufi/pretty-xml: ^3.0.0
- symplify/rule-doc-generator-contracts: ^11.2
- webmozart/assert: ^1.11 || ^2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT ed69f6d6c12a82739a6272e58e66ea2c2c53fffd
- Andreas Wolf <dev.woop@a-w.io>
README
Fractor extension package with a file processor for XML files.
This uses PHP's libxml integration and provides a full traversal of the DOM Node tree.
Installation
composer require a9f/fractor-xml --dev
Configuration
All rules must implement the a9f\FractorXml\Contract\XmlFractor interface. The rule will be tagged with 'fractor.xml_rule' and be injected in the XmlFileProcessor.
Development
Development happens in the Fractor monorepo on GitHub
