Skip to main content

habit-hooks-php

The PHP Habit Hooks plugin: wraps phpmd for structural code-smell detection. phpmd ships bundled as a phar, so nothing beyond a PHP runtime is required.

Install

pip install "habit-hooks[php]"

Enable

# .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

  • phpbrew install php (nothing else; phpmd ships bundled)

Part of habit-hooks.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

habit_hooks_php-1.5.0.tar.gz (457.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

habit_hooks_php-1.5.0-py3-none-any.whl (462.2 kB view details)

Uploaded Python 3

File details

Details for the file habit_hooks_php-1.5.0.tar.gz.

File metadata

  • Download URL: habit_hooks_php-1.5.0.tar.gz
  • Upload date:
  • Size: 457.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for habit_hooks_php-1.5.0.tar.gz
Algorithm Hash digest
SHA256 272cca3a4384f66bddf0623f0b25d7b671a9c31396fc51651ad458132dbd41b4
MD5 17389f0d8e86c255688db7795f339f9b
BLAKE2b-256 68660d1d076cd896ba64008fd8004f7eb3240b86ceff73a578b55e9ebe7e1e72

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_php-1.5.0.tar.gz:

Publisher: release.yml on habit-hooks/habit-hooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file habit_hooks_php-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: habit_hooks_php-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 462.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for habit_hooks_php-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d3af95d354438c747d9f414e30a89ba40a6bc34f2b38a7280e86a77f11ff5ac
MD5 ada9158069d3f9ee8e34a024a240ea53
BLAKE2b-256 472b26a7039821568c6802eee89b587a477109d7c9ae056f0610e334148748f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_php-1.5.0-py3-none-any.whl:

Publisher: release.yml on habit-hooks/habit-hooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page