composer require zhouyl/phpfmt-tool
- $PWD/.phpfmt.ini (customize)
- $HOME/.phpfmt/.phpfmt.ini (global)
cp vendor/zhouyl/phpfmt-tool/.phpfmt.ini .
echo "./app ./bootstrap ./database" > ./.phpfmtdirs
cd /workspace/myapplication
vendor/bin/phpfmt
wget --no-check-certificate https://github.com/zhouyl/phpfmt-tool/raw/master/phpfmt -O /usr/local/bin/phpfmt
chmod +x /usr/local/bin/phpfmt
cd /workspace/myaplication
phpfmt .
The MIT License (MIT). Please see License File for more information.