I am new to Composer and trying to install a package via composer as
$ php composer require intervention/image
but i am getting
Could not open input file: composer
error since i have just run my last composer command 10 mins ago. I don't now what is causing that problem. Any help would be appreciated.