# 使用 Homebrew, apt 安装 phpmd

查看 phpmd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:phpmd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install phpmd
```

  证据: local Homebrew formula metadata

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install phpmd
```

  证据: Ubuntu 24.04 LTS package indexes: phpmd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:phpmd
- **软件包管理器:** Homebrew
- **版本:** 2.15.0
- **来源摘要:** PHP Mess Detector
- **主页:** <https://phpmd.org>
- **仓库:** <https://github.com/phpmd/phpmd>
- **上游文档:** <https://phpmd.org>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- phpmd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.15.0

## 安全说明

没有找到 phpmd 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Ubuntu apt - phpmd - 2.15.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: phpmd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PHP Mess Detector | https://phpmd.org


## 相关链接

- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [advancescan](https://pkg.so/zh-hans/brew/advancescan/) - Local package facts share a topical domain. Shared terms: mess.
- [bb-cli](https://pkg.so/zh-hans/brew/bb-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: php.
- [brew-php-switcher](https://pkg.so/zh-hans/brew/brew-php-switcher/) - Both packages touch the same language runtime or ecosystem. Shared terms: php.

## 来源

- pkg.so package database
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
