chezmoi-source (чистая пересборка, не дамп 1.2 ГБ): - dot_claude: CLAUDE.md лин-роутер, AGENTS.md.tmpl (VPS вычищен), settings.json.tmpl (deny-щит 20 + security-guard hook), rules (structure + ECC 21 язык), 30 generic ECC-агентов, health-check - dot_codex: symlink-паритет; dot_agents: registry 13 скриптов HOME-генерик + методология docs - плагины: plugins.manifest + bootstrap Слой 1b (marketplace+install) - launchd: health.plist (PATH-фикс 127) + session-reaper.example - smoke++: secret-токен guard + канон-проверки (зелёный) - 0 hard личных данных; cut личного (kb/references/gsd/owner) → Ф4
681 B
681 B
paths
| paths | |||||
|---|---|---|---|---|---|
|
PHP Hooks
This file extends common/hooks.md with PHP specific content.
PostToolUse Hooks
Configure in ~/.claude/settings.json:
- Pint / PHP-CS-Fixer: Auto-format edited
.phpfiles. - 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, ordie()left in edited files. - Warn when edited PHP files add raw SQL or disable CSRF/session protections.