Перевод: оболочка страницы на русском; тело навыка (SKILL.md) пока на английском — это исходные инструкции агента.
Lang Php
Navigate, test, and lint PHP via composer tools.
Метаданные навыка
| Источник | Встроенный (установлен по умолчанию) |
| Путь | skills/software-development/lang-php |
| Версия | 1.0.0 |
| Автор | VibeOS |
| Лицензия | MIT |
| Платформы | linux, macos, windows |
| Теги | php, composer, language-pack, phpunit |
| Связанные навыки | codebase-navigate, test-driven-development |
Справка: полный SKILL.md
к сведению
Ниже полное определение навыка, которое VibeOS загружает при активации. Это инструкции, которые видит агент.
PHP Language Pack Skill
Drive PHP work with composer scripts and the project index. LSP hint: phpactor.
When to Use
- Repo has
composer.json - User asks to find symbols, run PHPUnit, or static analysis
Prerequisites
vibeos pack apply lang-php --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
vibeos project index query <SymbolName>
composer test
# or
vendor/bin/phpunit
vendor/bin/phpstan analyse
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-php --apply |
| Doctor | vibeos language doctor php |
| Test | composer test |
Procedure
- Prefer
composerscripts when defined; else vendor binaries. - Index query →
read_file→ edit → targeted PHPUnit filter when possible. - Respect autoload PSR-4 paths from composer.json.
Pitfalls
- Do not assume Laravel/Symfony structure unless manifests show it.
vendor/is dependency noise — do not treat it as first-class index targets.
Verification
vibeos language doctor php
composer test