a9f / fractor-xml
XML extension for the File Read-Analyse-Change Tool. Allows modifying XML files
Installs: 8 921
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:fractor-extension
Requires
- php: ^8.2
- ext-dom: *
- ext-xml: *
- a9f/fractor: ^0.4.2
- a9f/fractor-extension-installer: ^0.4.2
- shanethehat/pretty-xml: ^1.0.2
- symplify/rule-doc-generator-contracts: ^11.2
- webmozart/assert: ^1.11
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