Hi,
I want to try the magento-lts project and I'm wondering how's the recommended way to start a "blank project".
I don't like the idea of checking out or forking the whole project if it's a composer-based package.
I thought about something like:
composer.json file (see below)composer installcomposer.json file example:
{
"name": "maxacarvalho/magento-lts",
"type": "project",
"require": {
"aydin-hassan/magento-core-composer-installer": "*",
"openmage/magento-lts": "1.9.3.x-dev"
},
"extra": {
"magento-core-package-type": "magento-source",
"magento-root-dir": "."
}
}
Thanks!!!!
That looks about right. I use a different installer package, but it's mostly the same in the end.
{
"name": "company/magento",
"minimum-stability": "dev",
"require": {
"aoepeople/composer-installers": "*",
"openmage/magento-lts": "1.9.3.x-dev"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
"ivanchepurnyi/ecomdev_phpunit": "dev-dev"
}
}
I use this setup, that also works nicely with deployer:
{
"repositories": [
{
"type": "composer",
"url": "https://packages.firegento.com"
}
],
"require": {
"magento-hackathon/magento-composer-installer": "~3.0",
"aydin-hassan/magento-core-composer-installer": "~1.2",
"openmage/magento-lts": "1.9.3.x-dev",
"symfony/console": "^2.5",
"n98/magerun": "^1.100",
"deployer/deployer": "^6.0"
},
"extra": {
"magento-root-dir": "htdocs",
"magento-core-package-type": "magento-source",
"magento-deploystrategy-dev": "symlink",
"magento-deploystrategy": "copy",
"magento-force": "true"
},
"require-dev": {
"webgriffe/deployer-magento": "dev-master"
}
}
Most helpful comment
I use this setup, that also works nicely with deployer: