Download the PHP package imaginationmedia/module-xml-validator without Composer

On this page you can find all versions of the php package imaginationmedia/module-xml-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-xml-validator

XML Validator by Imagination Media

XML Validator by Imagination Media 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

Requirements

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 imaginationmedia/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/imaginationmedia/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 imaginationmedia/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 ImaginationMedia_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. Our support staff will do their 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 [Imagination Media], 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.


All versions of module-xml-validator with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-dom Version *
ext-libxml Version *
ext-pcre Version *
composer/composer Version ^2.2
magento/framework Version ~103.0.0
symfony/console Version ^4.4 || ^5.4 || ^6.0
symfony/finder Version ^4.4 || ^5.4 || ^6.0
symfony/polyfill-php80 Version ^1.24
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package imaginationmedia/module-xml-validator contains the following files

Loading the files please wait ....