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.0rc1.tar.gz (458.6 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.0rc1-py3-none-any.whl (464.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: habit_hooks_php-1.4.0rc1.tar.gz
  • Upload date:
  • Size: 458.6 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 9124254789b425860903bf5eb1745a1a6288bd9ace0b67348fbe90379cab71d3
MD5 20630d56b045b8f6f890f358b17fcbae
BLAKE2b-256 dd5e26796f19b0b27b87c8db8a18f3b1afcd2f12667f81467373d06cb15156ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for habit_hooks_php-1.4.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 461a29d0d24a393b7fa66dc515933196d134e15e5be2deee3ca10422f4709557
MD5 5b4bcbf8af37524a52f8a3436a693da5
BLAKE2b-256 f305c1ac43fe0355d0e2a318dd062dd5d6af660457b180511f12bace48433c09

See more details on using hashes here.

Provenance

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