Download the PHP package fusionspim/php-demandware-xml without Composer
On this page you can find all versions of the php package fusionspim/php-demandware-xml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fusionspim/php-demandware-xml
More information about fusionspim/php-demandware-xml
Files in fusionspim/php-demandware-xml
Download fusionspim/php-demandware-xml
More information about fusionspim/php-demandware-xml
Files in fusionspim/php-demandware-xml
Vendor fusionspim
Package php-demandware-xml
Short Description PHP library for working with Demandware XML files
License MIT
Package php-demandware-xml
Short Description PHP library for working with Demandware XML files
License MIT
Please rate this library. Is it a good library?
Informations about the package php-demandware-xml
PHP Demandware XML
A PHP library for working with Demandware XML files:
- Exporting: Supports category, product, variant and assignment files and allows elements to be added in the order that makes sense for your code - they'll be exported in the sequence specified by the XSD automatically, and custom attribute elements are ordered by attribute ids for consistency between exports.
- Validation: Automatically validates files up to 1Gb (against the included XSD schemas) after exporting.
- Parsing: Retrieve category, assignment, product, variation, set and bundle information from an XML file, either as an array, or yield using generators. Maps IDs to the more useful elements and, optionally, attributes.
Installation
Run composer require fusionspim/php-demandware-xml.
Usage
See tests for examples on how to use, along with the files within tests/fixtures for output examples.
Development
To ensure consistent linting/testing outcomes (locally and in CI), tools are pinned via composer.lock.
Future plans
- Export all root elements sorted by their first attribute value (similar to custom attributes) to ease manual comparison/diffs.
- Convert nested elements currently implemented with string concatenation/loops to nodes (they work, but would be nice for consistency/robustness) & deal with the
setClassification()/catalog-idhack ;) - Canonicalise two sets of XML files and report on different IDs, elements and attributes (useful when different systems/processes have exported the files)
All versions of php-demandware-xml with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
ext-simplexml Version ^8.4
ext-json Version ^8.4
ext-libxml Version ^8.4
ext-xmlreader Version ^8.4
ext-xmlwriter Version ^8.4
ext-simplexml Version ^8.4
ext-json Version ^8.4
ext-libxml Version ^8.4
ext-xmlreader Version ^8.4
ext-xmlwriter Version ^8.4
The package fusionspim/php-demandware-xml contains the following files
Loading the files please wait ...