đŸ’Ŧ

Php

v1.2.0Apache 2.0

Advanced PHP programming skills for modern PHP and security patterns

Installation

Install han binary (required for hooks to work):

curl -fsSL https://han.guru/install.sh | bash

Then install this plugin:

han plugin install php

Overview

Advanced PHP programming skills for modern PHP and security patterns

Skills

This plugin provides the following skills:

  • Php Composer Autoloading
  • Php Modern Features
  • Php Security Patterns

Usage

Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:

  • Write idiomatic code following best practices
  • Suggest appropriate patterns and architectures
  • Catch common mistakes and anti-patterns
  • Provide framework-specific guidance

Installation

Install via the han CLI:

bash
han plugin install php

LSP Servers

🧠

intelephense

Languages:

php

File Extensions:

.php

Command:

${CLAUDE_PLUGIN_ROOT}/scripts/lsp-entrypoint.sh --stdio

Skills

Hooks

🔧

PostToolUse

Runs immediately after a tool completes successfully. Can validate outputs, log results, or trigger follow-up actions based on tool execution.

han hook run php format --async
🛑

Stop

Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.

han hook run php format --async
han hook run php syntax --async
han hook run php test --async
🛑

SubagentStop

Runs when a Claude Code subagent (Agent tool call) has finished responding. Can validate subagent outputs, enforce quality standards, or trigger additional workflows after delegated tasks complete.

han hook run php format --async
han hook run php syntax --async
han hook run php test --async