Save this composer.cmd
file to c:\windows
directory and run composer
in CMD
-
-
Save yus-ham/97504550169821aecee78575cd8e70b3 to your computer and use it in GitHub Desktop.
Quick Batch file to add a 'composer' command to windows.
This file contains 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.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