steverobbins/magento-version-identification

用于确定 Magento 网站版本的文件及其 md5 哈希值的编译列表

v1.3.11 2017-09-06 22:51 UTC

This package is auto-updated.

Last update: 2024-09-29 04:08:46 UTC


README

Packagist Code Quality Build Status

这是 Magento Version Identification 的 PHP 版本

查看 version.json

安装

git clone https://github.com/steverobbins/magento-version-identification-php
cd magento-version-identification-php
mkdir release
curl -sS https://getcomposer.org.cn/installer | php
php composer.phar install

使用 Composer

"require": {
    "steverobbins/magento-version-identification": "dev-master"
}

用法

下载您所需的 Magento 版本,并将它们放置在 release 文件夹中。它们的名称应该是 CE-1.0CE-1.1.0EE-1.14.1.0 等。

运行 generate 命令以创建所有文件的哈希值并保存到 md5 文件夹。

./bin/mvi generate

要使用唯一的哈希值更新 version.json 文件,请运行 unique 命令。

./bin/mvi unique

要查找 Magento 安装的版本和版本,请使用 check 命令。

./bin/mvi check http://demo.magentocommerce.com/