Download the PHP package matesofmate/phpunit-extension without Composer
On this page you can find all versions of the php package matesofmate/phpunit-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download matesofmate/phpunit-extension
More information about matesofmate/phpunit-extension
Files in matesofmate/phpunit-extension
Package phpunit-extension
Short Description PHPUnit extension for symfony/ai-mate providing token-optimized test execution tools
License MIT
Informations about the package phpunit-extension
PHPUnit Extension for Symfony AI Mate
Token-efficient PHPUnit tools for AI assistants. This package runs tests and returns encoded structured responses designed for debugging and iteration.
Features
- run the full suite, a file, a class, or a single method through one tool
- list discoverable tests
- encoded output with three consistent detail modes
- custom command support for containerized setups
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 PHPUnit must run through Docker or another wrapper command, configure matesofmate_phpunit.custom_command.
Requirements
- PHP 8.2+
- Symfony AI Mate 0.8+ required
- PHPUnit available locally, or a custom command configured
Available Tools
phpunit-runphpunit-list-tests
All tools return 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 phpunit-extension with dependencies
matesofmate/common Version ^0.3
symfony/ai-mate Version ^0.8
symfony/finder Version ^5.4|^6.4|^7.3|^8.0
symfony/process Version ^5.4|^6.4|^7.3|^8.0