This is a simple CLI tool for managing phar files easily.
This tool is intended for Windows users using Linux-like shells.
Required executables/commands in the %PATH%:
mintty
for starting a window that hosts the vim editorvi
for editing a temp file fromphar v
If php
is in the %PATH%, you may put this file in a directory in the %PATH% with or without a file extension, then execute this directly from the shell. For example, I save this as phar
in one of the directories in my path variable, so I just execute phar l path/to/file.phar
directly on Git Bash.