且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Windows 上使用作曲家?

更新时间:2023-11-17 11:03:40

好的,假设您的网站位于:

Okay, let's say your website is at:

C:xampphtdocsmywebsite

你应该把 Composer 文件放在:

You should put the Composer file at:

C:xampphtdocsmywebsitecomposer.json

然后,在您的终端中,使用以下两个命令:

Then, in your terminal, use these two commands:

cd C:xampphtdocsmywebsite
composer install

应该是这样的.

您可以使用 Composer 做各种其他事情.找出终端中的 composer 类型.它将显示您可以使用的命令列表.

You can do various other things with Composer. To find out what type composer in your terminal. It will show you a list of commands you can use.

如果您想了解更多关于命令的信息,可以使用 composer help [COMMAND],如下所示:

If you want to know more about a command then you can use composer help [COMMAND], like so:

composer help install