Skip to content

Available Packages

PHM provides precompiled binary packages for PHP 8.1 through 8.5 on macOS (Apple Silicon and Intel).

VersionLatest
PHP 8.58.5.4
PHP 8.48.4.19
PHP 8.38.3.30
PHP 8.28.2.30
PHP 8.18.1.34

All packages follow the pattern phpX.Y-name. For example:

Terminal window
phm install php8.5-cli php8.5-redis php8.5-xdebug

These packages provide PHP itself and essential components.

PackageDescriptionPHP Versions
cliPHP command-line interpreter8.1 – 8.5
fpmFastCGI Process Manager8.1 – 8.5
cgiCGI binary8.1 – 8.5
commonShared files and php.ini8.1 – 8.5
devDevelopment files (headers, phpize)8.1 – 8.5
pearPEAR/PECL package manager8.1 – 8.5
PackageDescriptionPHP Versions
igbinaryCompact binary serializer (faster alternative to PHP serialize)8.1 – 8.4
msgpackMessagePack serialization8.1 – 8.5
protobufGoogle Protocol Buffers8.1 – 8.5
yamlYAML parser and emitter8.1 – 8.5
dsEfficient data structures (Vector, Deque, Map, Set)8.1 – 8.5
zstdZstandard compression8.4 – 8.5
PackageDescriptionPHP Versions
mysqlMySQL/MariaDB driver (mysqli + PDO)8.1 – 8.5
pgsqlPostgreSQL driver (pgsql + PDO)8.1 – 8.5
redisRedis client8.1 – 8.5
mongodbMongoDB driver8.1 – 8.5
PackageDescriptionPHP Versions
amqpRabbitMQ / AMQP client8.1 – 8.5
curlHTTP client (libcurl)8.1 – 8.5
ftpFTP client8.1 – 8.5
soapSOAP web services client8.1 – 8.5
socketsLow-level socket interface8.1 – 8.5
stompSTOMP messaging protocol8.1 – 8.4
oauthOAuth 1.0/2.0 consumer/provider8.1 – 8.5
opentelemetryOpenTelemetry instrumentation8.1 – 8.5

Extensions — Text & Internationalization

Section titled “Extensions — Text & Internationalization”
PackageDescriptionPHP Versions
mbstringMultibyte string handling8.1 – 8.5
intlInternationalization (ICU)8.1 – 8.5
xmlXML parser (DOM, SimpleXML, XMLReader/Writer)8.1 – 8.5
mailparseEmail message parsing8.1 – 8.5
PackageDescriptionPHP Versions
gdImage processing (GD library)8.1 – 8.5
imagickImageMagick bindings8.1 – 8.5
exifEXIF metadata reader8.1 – 8.5
PackageDescriptionPHP Versions
xdebugStep debugger and profiler8.1 – 8.5
pcovCode coverage driver (lightweight alternative to Xdebug)8.1 – 8.5
astPHP AST (Abstract Syntax Tree) access8.1 – 8.5
uopzRuntime opcode manipulation for testing8.1 – 8.3
excimerLow-overhead sampling profiler8.1 – 8.5
PackageDescriptionPHP Versions
pcntlProcess control (fork, signals)8.1 – 8.5
evHigh-performance event loop (libev)8.1 – 8.5
dioDirect I/O (low-level file operations)8.1 – 8.5
uploadprogressFile upload progress tracking8.1 – 8.5
PackageDescriptionPHP Versions
bcmathArbitrary precision math8.1 – 8.5
mcryptEncryption (legacy, libmcrypt)8.1 – 8.5
PackageDescriptionPHP Versions
apcuShared memory cache (user data)8.1 – 8.5
calendarCalendar conversion functions8.1 – 8.5
libeditInteractive line editing (readline alternative)8.1 – 8.5
zipZIP archive support8.1 – 8.5

Meta packages install groups of packages in a single command. There are two variants:

Installs the essential packages: common, cli, fpm, cgi, dev, pear.

Terminal window
phm install php8.5
# or equivalently:
phm install php8.5-slim

Installs the slim set plus all available extensions for that PHP version.

Terminal window
phm install php8.5-full

Available for all supported versions: php8.1, php8.2, php8.3, php8.4, php8.5

Terminal window
# List all available packages
phm list
# Search by name
phm search redis
# Show package details
phm info php8.5-redis