刚尝试在TYPO3 CMS 7.6.10安装中安装TYPO3 Surf,但它无效。
C:\xampp\htdocs\typo3_src-7.6.10>composer require typo3/surf=dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for typo3/surf dev-master -> satisfiable by typo3/surf[dev-master].
- typo3/surf dev-master requires symfony/console ^2.8|^3.0 -> satisfiable by symfony/console[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.2, v3.1.3] but these conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.
答案 0 :(得分:2)
目前没有实际使用冲浪,请查看最新的测试版,因为现在使用的是phar文件。因此,您不需要安装任何作曲家,也不会遇到现在遇到的麻烦。
答案 1 :(得分:2)
目前仅适用于TYPO3 CMS 8及更新版本。
TYPO3 CMS 7使用旧版symfony/console
。
{
"repositories": [
{
"type": "composer",
"url": "https://composer.typo3.org/"
}
],
"name": "markussom/creativeworkspace",
"require": {
"typo3/cms": "8.3.1 as 7.6.10",
"typo3/cms-beuser": "^8.3",
"typo3/cms-fluid-styled-content": "^8.3",
"typo3/cms-filelist": "^8.3",
"typo3/cms-impexp": "^8.3",
"typo3/cms-lowlevel": "^8.3",
"typo3/cms-rsaauth": "^8.3",
"typo3/cms-rtehtmlarea": "^8.3",
"typo3/cms-filemetadata": "^8.3",
"typo3/cms-setup": "^8.3",
"typo3/cms-tstemplate": "^8.3",
"typo3/cms-viewpage": "^8.3",
"typo3-ter/news": "^5.0.0",
"typo3-ter/realurl": "^2.0.14",
"helhum/typo3-console": "^3.3.1"
},
"scripts": {
"package-states": [
"./vendor/bin/typo3cms install:generatepackagestates"
],
"folder-structure": [
"./vendor/bin/typo3cms install:fixfolderstructure"
],
"post-autoload-dump": [
"@package-states",
"@folder-structure"
]
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": "Web"
},
"helhum/typo3-console": {
"install-binary": false
}
}
"require-dev": {
"typo3/cms-belog": "^8.3",
"typo3/cms-info": "^8.3",
"typo3/cms-reports": "^8.3",
"typo3/cms-info-pagetsconfig": "^8.3",
"TYPO3/Surf": "dev-master"
},
"config": {
"optimize-autoloader": true
}
}
答案 2 :(得分:0)
自从提出问题以来,只是为了在最近的一段时间内继续提供替代方案,有很多人开始转向Docker,而我知道TYPO3的最简单方法就是使用DDEV,这是开源的。目前,DDEV Live的开源版本尚不可用,但是我们正在使用DDEV Local进行所有本地开发,并且应该说Live即将出现。还有直接从DRUD直接获得的DDEV Live,这将是一个托管解决方案,虽然我个人还没有使用过它,但听起来它的设置非常强大。