Skip to content

Instantly share code, notes, and snippets.

@steverice
Created June 27, 2013 08:01
Show Gist options
  • Save steverice/5874745 to your computer and use it in GitHub Desktop.
Save steverice/5874745 to your computer and use it in GitHub Desktop.
composer.json repository setup for installing connect20/Mage_All_Latest (1.7.0.2) through magento-hackathon/magento-composer-installer
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
},
{
"type": "package",
"package": {
"name": "connect20/lib_google_checkout",
"version": "1.5.0.0",
"dist": {
"type": "zip",
"url": "https://github.com/steverice/Lib_Google_Checkout/archive/1.5.0.0.zip",
"reference": null,
"shasum": null
},
"require": {
"magento-hackathon/magento-composer-installer": "*"
},
"type": "magento-module",
"extra": {
"package-xml": "package.xml"
}
}
},
{
"type": "package",
"package": {
"name": "connect20/lib_phpseclib",
"version": "1.5.0.0",
"dist": {
"type": "zip",
"url": "https://github.com/steverice/Lib_Phpseclib/archive/1.5.0.0.zip",
"reference": null,
"shasum": null
},
"require": {
"magento-hackathon/magento-composer-installer": "*"
},
"type": "magento-module",
"extra": {
"package-xml": "package.xml"
}
}
},
{
"type": "package",
"package": {
"name": "connect20/lib_zf",
"version": "1.11.1.0",
"dist": {
"type": "zip",
"url": "https://github.com/steverice/Lib_ZF/archive/1.11.1.0.zip",
"reference": null,
"shasum": null
},
"require": {
"magento-hackathon/magento-composer-installer": "*"
},
"type": "magento-module",
"extra": {
"package-xml": "package.xml"
}
}
}
],
@steverice
Copy link
Author

Since Phar won't properly handle buggy tgz's from Magento connect (see magento-hackathon/magento-composer-installer#22), the required dependencies are cloned on GitHub and downloaded in zip format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment