php

General-purpose scripting language with web development focus

brewmacoslinux
Try with needOr install directly
Source

About

General-purpose scripting language

Commands

phpphp-cgiphp-configphpize

Examples

Run a PHP script from command line$ php script.php
Start a built-in web server for development$ php -S localhost:8000
Execute PHP code directly$ php -r 'echo "Hello World\n";'