pkg.soopen package index

brew / rank 893

Install php@8.2 with Homebrew, winget, apk, scoop, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper

General-purpose scripting language. Version 8.2.35 via Homebrew; verified 2026-10-25. Also installable with winget: winget install --id PHP.PHP.8.2 -e.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install php@8.2

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install php

MacPorts ports tree · lang/php/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add php82

Alpine Linux edge package indexes · php82 · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install php

Debian stable package indexes · php · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install php

Fedora Rawhide package metadata · php · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#php

nixpkgs package indexes · php · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S php

Arch Linux sync databases · php · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install php8

openSUSE Tumbleweed package metadata · php8 · source: download.opensuse.org

Windows

Windows Package Managerverified · 92%
winget install --id PHP.PHP.8.2 -e

Windows Package Manager source index · PHP.PHP.8.2 · source: cdn.winget.microsoft.com

Scoopverified · 92%
scoop install versions/php82

Scoop official bucket manifest trees · bucket/php82.json · source: api.github.com

Chocolateyverified · 92%
choco install php

Chocolatey community package catalog · php · source: community.chocolatey.org

overview

Package summary

General-purpose scripting language

Commands and aliases

No executable aliases were found in the local package database.

history

Project history and usage

PHP 8.2 is a branch-pinned PHP runtime for applications, extensions, and build pipelines that target the PHP 8.2 language and ABI contract.

Project history

PHP began with Rasmus Lerdorf's CGI tools in 1994 and was released publicly in 1995. Parser rewrites produced PHP 3 and the Zend Engine lineage, followed by the performance-oriented PHP 7 engine and the modern PHP 8 series.

PHP 8.2.0 was released on 8 December 2022.

Adoption history

PHP 8.2 continued PHP 8's type-system evolution with readonly classes, standalone true, false, and null types, and Disjunctive Normal Form types. Deprecation of dynamic properties also encouraged applications and frameworks to declare their object models more explicitly.

The branch became a compatibility target for applications and libraries migrating from PHP 7 or earlier PHP 8 releases. A versioned formula preserves that target for testing, production parity, and extension builds.

How it is used

The formula supplies php for command-line execution, php-fpm and php-cgi for web serving, phpdbg for debugging, phpize and php-config for native-extension builds, PEAR/PECL tooling, and PHAR commands.

PHP loads php.ini according to its build and SAPI search order; .user.ini can provide per-directory settings for CGI/FastCGI deployments. The php --ini command identifies the effective configuration.

Why package nerds care

Homebrew distributes PHP 8.2 as a keg-only versioned formula so it can coexist with other PHP branches. Package maintainers care about the branch because Composer constraints, extension ABIs, framework support matrices, and CI jobs commonly target PHP minor lines.

Timeline

  • 1994: The first PHP CGI tools were created.
  • 1995: PHP Tools source was released publicly.
  • 1998: PHP 3.0 established the modern language project.
  • 2000: PHP 4.0 introduced the Zend Engine.
  • 2015: PHP 7.0 introduced Zend Engine 3.
  • 2020: PHP 8.0 began the PHP 8 series.
  • 2022: PHP 8.2.0 was released.

Related projects

  • Composer supplies PHP project dependency management. PHPStan, Psalm, and other analyzers use PHP's increasingly expressive native and PHPDoc type systems.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for php@8.2. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 22 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
php.ini.user.ini

executables

Installed executables

CommandKindExposureNote
No executable data was present.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version8.2.35
manager updated2026-10-25
local dataok
upstreamnot checked
latest detectednot detected

https://www.php.net/

  • infoRelease/tag comparison is only available for GitHub repositories.https://www.php.net/none confidence

install metadata

Package metadata

Package keybrew:php@8.2
Version8.2.35
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/php@8.2
Homepagehttps://www.php.net/
Upstream docshttps://www.php.net/
LicensePHP-3.01 AND Zend-2.0 AND BSL-1.0 AND MIT AND Apache-1.0 AND bcrypt-Solar-Designer AND BSD-2-Clause-Darwin AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND OLDAP-2.8 AND TCL AND Zlib
Source archivehttps://www.php.net/distributions/php-8.2.35.tar.xz
Last updated2026-10-25T12:29:56+02:00
Pulseupdated
Dependenciesapr, apr-util, argon2, aspell, autoconf, curl, freetds, gd, gettext, gmp, icu4c@79, krb5, libpq, libsodium, libzip, oniguruma, openldap, openssl@4, pcre2, sqlite, tidy-html5, unixodbc
Build dependencieshttpd, pkgconf
Uses from macOSbzip2, libedit, libffi, libxml2, libxslt
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsTo enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module $HOMEBREW_PREFIX/opt/php@8.2/lib/httpd/modules/libphp.so <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> Finally, check DirectoryIndex includes index.php DirectoryIndex index.php index.html The php.ini and php-fpm.ini file can be found in: $HOMEBREW_PREFIX/etc/php/8.2/

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namephp@8.2
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

winget95%

PHP.PHP.8.2

winget install --id PHP.PHP.8.2 -e
  • normalized package name match
  • Matched by: Php 8 2
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: PHP.PHP.8.2 from https://cdn.winget.microsoft.com/cache/source.msix
apk92%

php82 8.2.33-r0

The PHP82 language runtime engine

https://www.php.net/

sudo apk add php82
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-apache2 8.2.33-r0

PHP82 Module for Apache2

https://www.php.net/

sudo apk add php82-apache2
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-apache2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-bcmath 8.2.33-r0

PHP82 extension: BC Math

https://www.php.net/

sudo apk add php82-bcmath
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-bcmath from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-bz2 8.2.33-r0

PHP82 extension: Bzip2

https://www.php.net/

sudo apk add php82-bz2
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-bz2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-calendar 8.2.33-r0

PHP82 extension: Calendar

https://www.php.net/

sudo apk add php82-calendar
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-calendar from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-cgi 8.2.33-r0

PHP82 Common Gateway Interface

https://www.php.net/

sudo apk add php82-cgi
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-cgi from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-common 8.2.33-r0

The PHP82 language runtime engine (common config)

https://www.php.net/

sudo apk add php82-common
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-common from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-ctype 8.2.33-r0

PHP82 extension: ctype

https://www.php.net/

sudo apk add php82-ctype
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-ctype from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-curl 8.2.33-r0

PHP82 extension: cURL

https://www.php.net/

sudo apk add php82-curl
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-curl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-dba 8.2.33-r0

PHP82 extension: DBA

https://www.php.net/

sudo apk add php82-dba
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-dba from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-dbg 8.2.33-r0

The PHP82 language runtime engine (debug symbols)

https://www.php.net/

sudo apk add php82-dbg
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-dev 8.2.33-r0

The PHP82 language runtime engine (development files)

https://www.php.net/

sudo apk add php82-dev
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-doc 8.2.33-r0

The PHP82 language runtime engine (documentation)

https://www.php.net/

sudo apk add php82-doc
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-dom 8.2.33-r0

PHP82 extension: DOM

https://www.php.net/

sudo apk add php82-dom
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-dom from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk92%

php82-embed 8.2.33-r0

PHP82 Embedded Library

https://www.php.net/

sudo apk add php82-embed
  • License: PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
  • Architecture: x86_64
  • Source Package: php82
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Php82
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: php82-embed from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation