Skip to content

Instantly share code, notes, and snippets.

@cedricziel
Created February 19, 2015 15:24
Show Gist options
  • Save cedricziel/851996dc3d1c3319039b to your computer and use it in GitHub Desktop.
Save cedricziel/851996dc3d1c3319039b to your computer and use it in GitHub Desktop.
TYPO3 CMS example composer.json with adjuste CMS core package
{
"name": "websight/institute",
"description": "",
"type": "typo3-cms-extension",
"version": "0.1",
"autoload": {
"psr-4": {
"Websight\\Institute\\": "Classes/"
},
"classmap": [
"Tests/",
"vendor/typo3/cms/typo3/sysext"
]
},
"replace": {
"typo3/cms-composer-installers": "*"
},
"require-dev": {
"typo3/cms": "6.2.9",
"phpunit/phpunit": "~4.4.0",
"mikey179/vfsStream": "~1.3.0",
"phpmd/phpmd": "@stable",
"phploc/phploc": "~2.0.6",
"sebastian/phpcpd": "~2.0.1",
"squizlabs/php_codesniffer": "~2.1.0",
"theseer/phpdox": "0.7.0",
"fluidtypo3/coding-standards": "dev-master",
"typo3/static-info-tables": "6.1.*",
"typo3/news": "3.0.1"
},
"repositories": [
{
"type": "package",
"package": {
"name": "typo3/cms",
"version": "6.2.9",
"dist": {
"url": "https://github.com/TYPO3/TYPO3.CMS/archive/6.2.9.zip",
"type": "zip"
},
"source": {
"url": "https://github.com/TYPO3/TYPO3.CMS.git",
"type": "git",
"reference": "6.2.9"
}
}
},
{
"type": "package",
"package": {
"name": "typo3/static-info-tables",
"version": "6.1.2",
"dist": {
"url": "https://github.com/typo3-ter/static_info_tables/archive/6.1.2.zip",
"type": "zip"
},
"source": {
"url": "https://github.com/typo3-ter/static_info_tables.git",
"type": "git",
"reference": "6.1.2"
},
"autoload": {
"psr-4": {
"SJBR\\StaticInfoTables\\": "Classes/"
}
}
}
},
{
"type": "package",
"package": {
"name": "typo3/news",
"version": "3.0.1",
"dist": {
"url": "https://git.typo3.org/TYPO3CMS/Extensions/news.git/snapshot/0afa4f653afa12359b9a767fee5ed143ded2ae61.zip",
"type": "zip"
},
"source": {
"url": "https://git.typo3.org/TYPO3CMS/Extensions/news.git",
"type": "git",
"reference": "3.0.1"
},
"autoload": {
"psr-4": {
"SJBR\\StaticInfoTables\\": "Classes/"
}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment