You can install dephpugger in two different ways. In your local project or in global path.
# Global mode $ composer global require "tacnoman/dephpugger":"dev-master" # Local mode $ composer require "tacnoman/dephpugger":"dev-master"
For global mode
When you use composer in global mode, it creates a folder called
.composer in your home.
~/.bash_profile and add this lines.
if [ -d "$HOME/.composer/vendor/bin" ] ; then PATH="$PATH:$HOME/.config/composer/vendor/bin" fi
Now you can run the command
For local mode
You will see this: