如何使用Windows安装干预图像

use*_*607 0 php laravel intervention

在Intervention Image的网站上,它说为了安装最新版本,我必须运行以下命令:

php composer.phar require intervention/image
Run Code Online (Sandbox Code Playgroud)

我使用的是Windows 8.1,我猜这不会起作用.我已经尝试了,它说:无法打开输入文件:composer.phar

我错过了一些非常容易的事吗?

小智 6

Use this command

composer require intervention/image
Run Code Online (Sandbox Code Playgroud)


use*_*607 5

正如Sinan Bolel在windows中提到的,而不是"php composer.phar",你输入"composer"和以下内容......