Php – How to install intervention image with Windows

interventionlaravelphp

In Intervention Image's website, it says that in order to install the most recent version, I must run the following command :

php composer.phar require intervention/image

I am using Windows 8.1 and I guess this isn't going to work. I already tried and it says : Could not open input file: composer.phar

Am I missing something very easy?

Best Solution

Use this command

composer require intervention/image