php-tooling
БесплатноБез исполняемых скриптовНе проверенConfigure PHP ecosystem tooling, dependency management, and static analysis. Use when managing Composer dependencies, running PHPStan, or configuring PHP…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
PHP Tooling
Priority: P2 (MEDIUM)
Structure
project/
├── composer.json
├── phpstan.neon
└── .php-cs-fixer.php
Implementation Guidelines
- Composer: Always commit
composer.lockfor applications. Usecomposer auditandcomposer install in CI(notupdate) for locked versions. - Autoloading: Strictly enforce PSR-4 autoloading in
composer.json(e.g.,"psr-4": {"App\\": "src/"}— ensure backslashes escaped). Runcomposer dump-autoloadafter changes. - Static Analysis: Mandate PHPStan (Level 5+) or Psalm in CI. Install via
composer require --dev phpstan/phpstan. Createphpstan.neonwithparameters: { paths: [src], level: 6 }. Run viavendor/bin/phpstan analyse. - Linting: Automate PSR-12 standards via
composer require --dev friendsofphp/php-cs-fixer. Configure in.php-cs-fixer.phpwith$config->setRules(['@PSR12' => true]). Usephp-cs-fixerto enforce standards. - Execution: Use
PHP 8.1+to leverage performance improvements (JIT, OpCache). - Scripts: Define standard task
"scripts": {incomposer.json("analyze": "phpstan analyse", "test": "phpunit", "check": ["@fix", "@analyze", "@test"]}). Run withcomposer check. - Debugging: Use
Xdebugfor local development only. Remove xdebug.so from prod config or set XDEBUG_MODE=off in production. - Docker: Use Multi-stage Dockerfiles with
php:8.x-fpmorphp:8.x-clibase images.
Anti-Patterns
- No manual
require: Use Composer PSR-4 autoloading only. - No blind composer updates: Review
composer.lockdiff first. - No Xdebug in production: Disable extension in prod env.
- No
vendor/in git: Exclude via.gitignore; use Composer.
Установить php-tooling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл php-tooling?
Configure PHP ecosystem tooling, dependency management, and static analysis. Use when managing Composer dependencies, running PHPStan, or configuring PHP build tools.
Как установить скилл php-tooling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл php-tooling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic