Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.4.0rc2.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.4.0rc2-py3-none-any.whl (462.3 kB view details)

Uploaded Python 3

File details

Details for the file habit_hooks_php-1.4.0rc2.tar.gz.

File metadata

  • Download URL: habit_hooks_php-1.4.0rc2.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.4.0rc2.tar.gz
Algorithm Hash digest
SHA256 b1ed893e5d243ac2db777b658b05246b280583d6217a4457f9998ff2e43e4d64
MD5 ecaafb46e338a516830f0f105b8c515b
BLAKE2b-256 6281c6013ac0ec93af4f5bf1808aa2e3d6bb1b9404b89c4c32f26bb3059271f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_php-1.4.0rc2.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.4.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for habit_hooks_php-1.4.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 cbab877ad77cb82cbf551fc83b66ee5ed6333e6cdce969b53ae722ca7418a7d8
MD5 e419d158d121d96adf2c333c2bd8de3b
BLAKE2b-256 ecb6765f60e240d97923af18f5189be4220fce4092556d281a337bd3ce54261a

See more details on using hashes here.

Provenance

The following attestation bundles were made for habit_hooks_php-1.4.0rc2-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

1.5.0

2 files

1.4.0

2 files

This release

1.4.0rc2 This release

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