ryaan-anthony / magento-installer
该包的最新版本(v1.0.6)没有可用的许可证信息。
以编程方式安装 Magento v1
v1.0.6
2019-04-27 20:04 UTC
Requires
- php: >=7.0
README
以编程方式安装 Magento v1
安装
composer require ryaan_anthony/magento-installer
用法
- 使用默认值实例化安装程序
$magentoInstaller = new RyaanAnthony\MagentoInstaller();
- 或自行配置安装程序
$magentoInstaller = new RyaanAnthony\MagentoInstaller(
'https://example.com/magento.tar.gz'
'/path/to/magento/',
'magento.tar.gz'
);
- 下载并解压 Magento
$magentoInstaller->setUp();
注意事项
- 仅适用于gzip压缩的tar文件
使用PHP7.2进行测试