ryaan-anthony / magento-installer

Programmatically Install Magento v1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

magento-installer

Programmatically Install Magento v1

Install

composer require ryaan_anthony/magento-installer

Usage

  • Instantiate the installer with default values
  $magentoInstaller = new RyaanAnthony\MagentoInstaller();
  • or configure the installer yourself
  $magentoInstaller = new RyaanAnthony\MagentoInstaller(
    'https://example.com/magento.tar.gz'
    '/path/to/magento/',
    'magento.tar.gz'
  );   
  • Download and extract Magento
  $magentoInstaller->setUp();

Caveats

  • Only works with gzipped tar files

Tested using PHP7.2

About

Programmatically Install Magento v1


Languages

Language:PHP 100.0%