Aktualisiert für Contao 4.9:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"require": {
"php": "^7.1",
"contao/calendar-bundle": "^4.9@RC",
"contao/comments-bundle": "^4.9@RC",
"contao/conflicts": "@dev",
"contao/core-bundle": "^4.9@RC",
"contao/faq-bundle": "^4.9@RC",
"contao/installation-bundle": "^4.9@RC",
"contao/listing-bundle": "^4.9@RC",
"contao/manager-bundle": "4.9.*@RC",
"contao/news-bundle": "^4.9@RC",
"contao/newsletter-bundle": "^4.9@RC"
},
"conflict": {
"contao-components/installer": "<1.3"
},
"extra": {
"contao-component-dir": "assets",
"symfony": {
"require": "^4.2"
}
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Wenn ihr den aktuellen Entwicklungsstand der 4.9 haben möchtet:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"require": {
"php": "^7.1",
"contao/calendar-bundle": "4.9.x-dev",
"contao/comments-bundle": "4.9.x-dev",
"contao/conflicts": "@dev",
"contao/core-bundle": "4.9.x-dev",
"contao/faq-bundle": "4.9.x-dev",
"contao/installation-bundle": "4.9.x-dev",
"contao/listing-bundle": "4.9.x-dev",
"contao/manager-bundle": "4.9.x-dev",
"contao/news-bundle": "4.9.x-dev",
"contao/newsletter-bundle": "4.9.x-dev"
},
"conflict": {
"contao-components/installer": "<1.3"
},
"extra": {
"contao-component-dir": "assets",
"symfony": {
"require": "^4.2"
}
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Alles auf eigene Gefahr natürlich.
Hinweis: ihr könnt auch einzelne Bundles entfernen. Wichtig ist nur, dass ihr auch das contao/core-bundle, contao/installation-bundle und natürlich das contao/manager-bundle dabei habt. Das core-bundle & installation-bundle müsst ihr ansonsten normalerweise nicht in der composer.json haben.