cd path/to/your/app php -S localhost:8000
php -S localhost:8000
$ cd ~/public_html $ php -S localhost:8000
just simply type php -a
php -r "Print "Hello, World!";"
vendor/bin/phpstan analyse [options] [<paths>...]