ryaan-anthony / magento-installer
Programmatically Install Magento v1
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ryaan-anthony/magento-installer
Requires
- php: >=7.0
README
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