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 AI 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 AI 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:
Use the generated wrapper for Codex:
Custom Command Configuration
If PHPStan must run through Docker or another wrapper command, configure matesofmate_phpstan.custom_command.
Requirements
- PHP 8.2+
- Symfony AI Mate 0.8+ required
- PHPStan 2.x in the target project
Available Tools
phpstan-analysephpstan-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.
Output Modes
defaultsummarydetailed
Development
License
MIT
All versions of phpstan-extension with dependencies
matesofmate/common Version ^0.3
phpstan/phpstan Version ^2.0
symfony/ai-mate Version ^0.8
symfony/process Version ^6.4|^7.0|^8.0