php@8.4

PHP 8.4 runtime for executing PHP scripts and web applications

brewmacoslinux
Try with needOr install directly
Source

About

General-purpose scripting language

Commands

phpphp-configphpizepharphar.phar

Examples

Execute a PHP script directly from command line$ php script.php
Start a built-in development web server on localhost:8000$ php -S localhost:8000
Check PHP version and installed extensions$ php -v && php -m