Bootstrap PHP project config
phpustik_initGenerate essential PHP configuration files for static analysis, coding standards, testing, and continuous integration. Configure PHPStan and Psalm levels, PHP version matrix, and selectively override existing files.
Instructions
Bir PHP projesi için optimal config dosyalarını üretir: phpstan.neon, psalm.xml, .php-cs-fixer.php, rector.php, phpunit.xml, phpmd.xml, phpcs.xml, .editorconfig, .gitattributes, .github/workflows/ci.yml, bin/pre-commit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "phpustik_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | Sadece belirli dosyaları üret (virgülle ayrılmış). Boş = hepsi. Örnek: phpstan.neon,phpunit.xml | |
| force | No | Mevcut dosyaların üzerine yaz. Varsayılan: false (üzerine yazmaz). | |
| dryRun | No | Sadece önizleme (default). apply=true ile dosyalara yaz. Varsayılan: true. | |
| psalmLevel | No | psalm.xml için seviye. Varsayılan: 4. | 4 |
| phpVersions | No | CI matrisinde test edilecek PHP sürümleri (virgülle). Varsayılan: 8.1,8.2,8.3,8.4. | 8.1,8.2,8.3,8.4 |
| projectPath | No | Proje kökü (otomatik tespit edilir). | |
| phpstanLevel | No | phpstan.neon için seviye. Varsayılan: 5 (orta). | 5 |