Yesterday I created a laravel project using the command php composer.phar create-project laravel/laravel TestProject
which worked fine and the project was created.
Today I am trying to do the exact same but with a different project name and now I am getting an error in my console saying : Could not open input file: composer.phar
I have had a poke around on stackoverflow and seen a few answers with people saying to drop the php
and .phar
and just call the composer, but I still get the same error message just without the extension.
Unsure why it worked yesterday and not today, anyone know why? For reference I am on mac.