php@8.2 for Mac
General-purpose scripting language
brew install php@8.2. It is distributed under the PHP-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 licence. Homebrew recorded 2,775 installs in the last 30 days. What is php@8.2?
php@8.2 is a macOS command-line tool: General-purpose scripting language.
It is distributed as a Homebrew formula, which builds or unpacks binaries onto your PATH. It is distributed under the PHP-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 licence.
How to install php@8.2
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed, run the install command below first.
- Run
brew install php@8.2.
Install Homebrew first if needed:
Similar apps in Command-Line Tools
The closest apps in the same category, ranked by description similarity and installs. They are related tools, not confirmed drop-in replacements; see the hand-picked comparison pages for a head-to-head view.
Frequently asked questions
How do I install php@8.2 on a Mac?
Run brew install php@8.2 in Terminal. This requires Homebrew; install it first with the command below if needed.
Is php@8.2 open source?
Yes — Homebrew distributes it under the PHP-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 licence.
Does php@8.2 run on Apple silicon?
Homebrew provides this formula for macOS. If upstream does not publish an Apple silicon build, Rosetta 2 can run the Intel binary.
How popular is php@8.2?
Homebrew analytics recorded 2,775 installs in the last 30 days, ranking it #524 in this catalogue.
What version of php@8.2 is current?
The latest packaged version is 8.2.35.
Data comes from the public Homebrew API, last updated 2026-10-27. Install counts only include Homebrew installs and are not total users.