fusionspim/php-demandware-xml 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fusionspim/php-demandware-xml

Composer 安装命令:

composer require fusionspim/php-demandware-xml

包简介

PHP library for working with Demandware XML files

README 文档

README

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.

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-id hack ;)
  • Canonicalise two sets of XML files and report on different IDs, elements and attributes (useful when different systems/processes have exported the files)

统计信息

  • 总下载量: 26.75k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 5
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固