Download the PHP package matesofmate/phpstan-extension without Composer
On this page you can find all versions of the php package matesofmate/phpstan-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download matesofmate/phpstan-extension
More information about matesofmate/phpstan-extension
Files in matesofmate/phpstan-extension
Package phpstan-extension
Short Description PHPStan extension for Symfony AI Mate providing AI assistants with efficient static analysis tools
License MIT
Informations about the package phpstan-extension
PHPStan Extension for Symfony Mate
Token-efficient PHPStan analysis tools for AI assistants. This package runs PHPStan and returns encoded structured results geared toward debugging and iteration.
Features
- analyse the full project or a selected file or directory
- clear PHPStan result cache
- three consistent compact output modes
- automatic configuration detection
Installation
In current Mate setups, extension discovery is handled automatically after Composer install and update. Run vendor/bin/mate discover when you want to refresh discovery artifacts such as mate/AGENT_INSTRUCTIONS.md.
Useful Mate commands:
Run a tool directly:
Custom Command Configuration
If PHPStan must run through Docker or another wrapper command, configure matesofmate_phpstan.custom_command.
Requirements
- PHP 8.2+
- Symfony Mate 0.13+ required
- PHPStan 2.x in the target project
Available Tools
phpstan-analysephpstan-analysis-detailphpstan-clear-cache
This package returns encoded strings through Mate's core ResponseEncoder. Install the suggested helgesverre/toon package if you want TOON responses; otherwise the same payload falls back to JSON.
Agent Skills
The extension ships Agent Skills that Mate installs into the project as mate-<name>:
phpstan-static-analysis: scoping a run, reading the error list, and when to clear the result cache
Output Modes
defaultsummarydetailed
Development
License
MIT
All versions of phpstan-extension with dependencies
matesofmate/common Version ^0.4 || ^0.6
phpstan/phpstan Version ^2.0
symfony/ai-mate Version ^0.12 || dev-main
symfony/process Version ^6.4|^7.0|^8.0