luka / magento-core-installer
Magento Core installation via Composer
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Open Issues: 0
Type:composer-plugin
pkg:composer/luka/magento-core-installer
Requires
- composer-plugin-api: ^1.0.0
- magento-hackathon/magento-composer-installer: *
README
This composer plugin allows to install magento core as downloaded from http://www.magento.com/ All you need to do is adding a composer.json to the zip and add a repository (e.g. artifact, satis, etc ...).
Example composer.json for magento core packages
{
"name" : "magento/core",
"version": "1.8.1.0",
"description" : "Magento Core",
"type" : "magento-core",
"license" : "OSL-3.0",
"keywords" : [
"magento"
],
"require" : {
"luka/magento-core-installer": "~1"
}
}
Usage for installing the magento instance
{
"name" : "acme/my-magento-inst",
"description" : "My Custom Magento Instance",
"require" : {
"magento/core": "1.9.*"
},
"extra": {
"magento-root-dir": "public/",
"magento-separate-writable": true,
"magento-writable-dir": "writable/",
"magento-deploystrategy": "copy"
}
}
Extras
- magento-root-dir [string]: Magento installation target path (document root)
- magento-separate-writable [bool]: Should use separate writable folder for var and media directories
- magento-writable-dir [string]: The directory where to find the var and media directory (symlink target).