SkillAgentSearch skills...

php-hooks

PHP hooks extending common rules

Install / Use

npx skills add niloykumarbarman/EVERYTHING-CLAUDE-CODE

Installs into whichever agent you are using.

About this skill
📐

Cursor Rules

Cursor IDE rules (v2)

Quality Score

35/100

Supported Platforms

Cursor

description: "PHP hooks extending common rules" globs: ["/*.php", "/composer.json", "/phpstan.neon", "/phpstan.neon.dist", "**/psalm.xml"] alwaysApply: false

PHP Hooks

This file extends the common hooks rule with PHP specific content.

PostToolUse Hooks

Configure in ~/.claude/settings.json:

  • Pint / PHP-CS-Fixer: Auto-format edited .php files.
  • PHPStan / Psalm: Run static analysis after PHP edits in typed codebases.
  • PHPUnit / Pest: Run targeted tests for touched files or modules when edits affect behavior.

Warnings

  • Warn on var_dump, dd, dump, or die() left in edited files.
  • Warn when edited PHP files add raw SQL or disable CSRF/session protections.

Related Skills

View on GitHub
GitHub Stars0
CategoryDevelopment
UpdatedNaNy ago
Forks0

Security Score

68/100

Audited on Invalid Date

2 medium1 low