Add the new scripts to /src/new_script.sh
, and then follow the contributing guide
make
this script is going to install essential PHP version
and composer
. It will also install the php code static analyse tools
, such as:
- php-cs-fixer
- phpstan
- phpinsights
a script to switch the php engine among different installed versions easily on macos.
# show sub commands in Makefile
make
# install phps as local command on macos
make phps
# switch to php version 7.4
phps 7.4
a script to clean up unused branches, that are already merged
# install the command
make gbclean
gbclean # clean up the branches
gbclean --dry-run # dry-run mode without applying any changes (recommended)