Download the PHP package vitorsreis/phpunit-dispatcher without Composer
On this page you can find all versions of the php package vitorsreis/phpunit-dispatcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vitorsreis/phpunit-dispatcher
More information about vitorsreis/phpunit-dispatcher
Files in vitorsreis/phpunit-dispatcher
Package phpunit-dispatcher
Short Description PHPUnit Dispatcher - A tool that automatically selects and runs the appropriate PHPUnit Phar version based on your PHP version.
License MIT
Homepage https://github.com/vitorsreis/phpunit-dispatcher
Informations about the package phpunit-dispatcher
PHPUnit Dispatcher
A tool that automatically selects and runs the appropriate PHPUnit PHAR version based on your PHP version.
Description
PHPUnit Dispatcher is a smart wrapper for PHPUnit that automatically selects the correct PHAR version based on your current PHP version. This eliminates the need to manually manage different PHPUnit versions for different PHP environments.
Features
- Automatically detects your PHP version
- Selects the appropriate PHPUnit version
- Runs PHPUnit with all your specified arguments
- Easy to use - just run it like you would run PHPUnit
- Lightweight - no additional dependencies required
- Support simultaneous processes with same or different PHPUnit versions
- Caching mechanism for faster subsequent runs
Installation
Using Composer
After installation, the phpunit-dispatcher.phar file will be available in vendor/bin/phpunit-dispatcher.phar
.
Manual Installation
Download the latest release from the releases page
Usage
Use it exactly like you would use PHPUnit:
For example:
Cache and Update
The first time you run the PHPUnit Dispatcher, it will download the appropriate PHPUnit PHAR version for your PHP version and store in cache. This allows for faster subsequent runs. You can force the PHPUnit version update using the --pud-force-update
argument:
Specifying PHPUnit Version Manually
You can also manually specify the PHPUnit version to be used with the --pud-phpunit-version
argument:
Or configure the PHP version mapping by editing the phpunit-dispatcher/mapping.json
Building from Source
To build the project from source:
- Clone the repository
- Build the Phar file:
Verbose Mode
To enable verbose mode with additional logs during execution, use the --pud-verbose
argument:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
- Vitor Reis ([email protected])
All versions of phpunit-dispatcher with dependencies
ext-curl Version *
ext-json Version *