承接 joseph-leedy/module-xml-validator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

joseph-leedy/module-xml-validator

Composer 安装命令:

composer require joseph-leedy/module-xml-validator

包简介

Adds a console command for validating XML files against their configured schema

README 文档

README

XML Validator by Joseph Leedy is a development tool for Magento Open Source and Adobe Commerce that adds a console command for validating XML files against their configured schema.

Features & Benefits

  • Ensure your XML files are valid according to their corresponding core schema thereby reducing deployment and runtime errors

Requirements

  • Magento Open Source or Adobe Commerce version 2.4.4 or greater (version 2.4.5 or greater recommended)
  • PHP version 7.4.32 or greater, or PHP 8.1.12 or greater (recommended)

Installation

The XML Validator extension is available for installation via Composer by entering the following commands into your terminal or command prompt:

cd /path/to/your/store
composer require --dev joseph-leedy/module-xml-validator

Post-Installation

After installation of the extension, you must run the following command to patch your setup/src/Magento/Setup/Console/CommandList.php file. This will allow the tool to run with only the core Magento files installed and no database.

patch -p1 < vendor/joseph-leedy/module-xml-validator/patches/Add-validate-XML-command-to-Setup-Command-List.patch

Updating

To update the XML Validator extension using Composer, run these commands from your terminal or command prompt:

cd /path/to/your/store
composer update joseph-leedy/module-xml-validator

Post-Install or Post-Update

To complete the installation or update process, please run these commands:

cd /path/to/your/store
php bin/magento module:enable JosephLeedy_XmlValidator
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Usage

Command Line

Run this tool in your local environment with the following commands:

cd /path/to/your/store
bin/magento dev:xml:validate path/to/your/code

Arguments

Argument Description Is Required
paths One or more paths to validate XML files in Yes

CI/CD with GitHub Actions

This tool will automatically detect if it is being run in a Continuous Integration and Continuous Deployment (CI/CD) pipeline with GitHub Actions and output the statements needed to show warnings and errors inline with the affected code. Support for other CI/CD pipelines will be added in future releases.

Support

If you experience any issues or errors while using this extension, please open an issue in the GitHub repository. Be sure to include all relevant information, including a description of the issue or error, what you were doing when it occurred, what versions of Magento Open Source or Adobe Commerce and PHP are installed and any other pertinent details. I will do my best to respond to your request in a timely manner, typically within 24-48 business hours (Monday through Friday from 9:00AM—5:00PM U.S. Eastern Time, excluding holidays).

License

The source code contained in this extension is licensed under the Open Software License version 3.0 (OSL-3.0) license. A copy of this license can be found in the LICENSE file included with the source code or online at https://opensource.org/licenses/OSL-3.0.

Copyright for the included source code is exclusively held by Joseph Leedy, all rights reserved.

History

A full history of the extension can be found in the CHANGELOG.md file.

Contributing

We welcome and value your contribution. For more details on how you can help us improve and maintain this tool, please see the CONTRIBUTING.md file.

joseph-leedy/module-xml-validator 适用场景与选型建议

joseph-leedy/module-xml-validator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 619 次下载、GitHub Stars 达 6, 最近一次更新时间为 2024 年 09 月 25 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 joseph-leedy/module-xml-validator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 joseph-leedy/module-xml-validator 我们能提供哪些服务?
定制开发 / 二次开发

基于 joseph-leedy/module-xml-validator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 619
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 12
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2024-09-25