Created
February 6, 2012 14:02
-
-
Save JCook21/1752267 to your computer and use it in GitHub Desktop.
Quick Batch file to add a 'composer' command to windows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if "%PHPBIN%" == "" set PHPBIN=C:\path\to\PHP\executable\dir\.\php.exe | |
"%PHPBIN%" "C:\path\to\composer.phar" %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the simple file, I was having trouble finding a way of calling composer under Windows.