run a php code on a terminal code example
Example 1: run a server php terminal
$ cd ~/public_html
$ php -S localhost:8000
Example 2: run phpstan terminal
vendor/bin/phpstan analyse [options] [<paths>...]
$ cd ~/public_html
$ php -S localhost:8000
vendor/bin/phpstan analyse [options] [<paths>...]