Metadata-Version: 2.5
Name: habit-hooks-php
Version: 1.3.1
Summary: The PHP Habit Hooks plugin
Project-URL: Homepage, https://habit-hooks.com
Project-URL: Repository, https://github.com/habit-hooks/habit-hooks
Project-URL: Issues, https://github.com/habit-hooks/habit-hooks/issues
Project-URL: Changelog, https://github.com/habit-hooks/habit-hooks/blob/main/CHANGELOG.md
License-Expression: MIT
Keywords: ai-coding-agents,ci,code-quality,code-review,code-smells,coding-agents,developer-tools,linter,php,refactoring,static-analysis,technical-debt
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# habit-hooks-php

The PHP Habit Hooks plugin: wraps [`phpmd`](https://phpmd.org/) for structural
code-smell detection. `phpmd` ships bundled as a phar, so nothing beyond a PHP
runtime is required.

## Install

```sh
pip install "habit-hooks[php]"
```

## Enable

```toml
# .habit-hooks/config.toml
plugins = ["php", "generic"]
```

Installing a plugin does not switch it on — it has to be named in
`plugins` before habit-hooks runs it.

## Detectors

- `php` — `brew install php` (nothing else; phpmd ships bundled)

Part of [habit-hooks](https://github.com/habit-hooks/habit-hooks).
