Created
March 23, 2013 10:43
-
-
Save halilim/5227278 to your computer and use it in GitHub Desktop.
Windows phar shortcut
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
@REM 1) Put this file in your PHP bin folder (e.g. ...\Program Files\PHP) | |
@REM 2) Put .phar files in a subfolder phar\ | |
@REM 3) Call .phar's like: phar php-cs-fixer --etc --etc | |
@REM Currently doesn't support more than 8 arguments to the phar, since I couldn't find an easy way to have shift(%*) | |
@php %~dp0phar\%1.phar %2 %3 %4 %5 %6 %7 %8 %9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment