简体   繁体   English

如何通过xampp shell命令在composer中安装typo3扩展

[英]How to install typo3 extension in composer via xampp shell command

I want to install the typo3 extension via composer so i have edited my composer.json file. 我想通过composer安装typo3扩展,因此我已经编辑了composer.json文件。 Like. 喜欢。 "typo3-ter/fluidpages": "^4.0.0" and saved it. “ typo3-ter / fluidpages”:“ ^ 4.0.0”并保存。 Now in xampp shell command i did like d:\\server\\test 现在在xampp shell命令中,我确实喜欢d:\\ server \\ test

composer update 作曲家更新

afterwards it took some time but came up with some errors. 之后花了一些时间,但出现了一些错误。 i don't know that what should i do in command line in order to get it done. 我不知道该怎么做才能在命令行中完成它。 I am beginner in it, any help would be greatful Thanks 我是初学者,任何帮助都将非常感谢

Dont edit your composer.json file, just run 不要编辑您的composer.json文件,只需运行

composer require typo3-ter/fluidpages

https://getcomposer.org/doc/03-cli.md#require https://getcomposer.org/doc/03-cli.md#require
This will update your composer.json automatically and install the package. 这将自动更新composer.json并安装软件包。

Since v4 is currently latest release of typo3-ter/fluidpages you dont need to specify the version like 由于v4是最新的typo3-ter / fluidpages版本,因此您无需指定类似的版本

composer require typo3-ter/fluidpages:4

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM