I'm having a problem with Composer. I have Composer installed globally on my machine. I am trying to install intercom using composer. I tried the command:
php composer.phar require intercom/intercom-php
but that returned "Could not open input file: composer.phar"
After investigating and reading the issues others have had I then tried
php composer require intercom/intercom-php
but that returned "Could not open input file: composer"
As I stated, I have Composer installed globally on my machine. I can type in the command "composer update" and it works from any directory.