facile-it/paraunit
Run PHPUnit test suites faster by executing tests in parallel across multiple processes. Symfony-based CLI with Composer install, supports many PHPUnit/Symfony versions, and can collect code coverage in parallel (auto-picks best driver like PCOV/Xdebug).
--stop-on-* flags (e.g., --stop-on-failure) to fail fast in CI, reducing flaky test noise and improving mean-time-to-repair (MTTR).Adopt Paraunit if:
ext-pcntl or ext-posix).Look elsewhere if:
--sort=natural or disable parallelism).For Executives: "Paraunit cuts our CI feedback loop from 10 minutes to 2 minutes for large test suites by running PHPUnit tests in parallel—without rewriting a line of code. This directly impacts developer velocity, reduces context-switching costs, and enables faster releases. It’s a zero-risk, open-source solution with enterprise-grade support (Symfony/Laravel ecosystems). For a team running 5,000+ tests, this could save ~200 hours/month in CI wait time."
For Engineering:
*"Paraunit replaces sequential phpunit with a drop-in parallel runner that:
--stop-on-failure, coverage formats).composer require facile-it/paraunit and replace phpunit with vendor/bin/paraunit.phpunit in CI with:- vendor/bin/paraunit run --cobertura=./coverage --stop-on-failure
```*
**No code changes needed.**"*
**For QA/DevOps:**
*"Paraunit integrates with existing CI tools (GitLab, GitHub) and:
- **Reduces CI costs** by cutting test time (e.g., 8-minute suite → 1.5 minutes).
- **Supports coverage** in parallel (Cobertura for GitLab, HTML for dashboards).
- **Fails fast** with `--stop-on-*` flags to catch regressions early.
*Use case*: Add to your `phpunit.xml`:
```xml
<extensions>
<bootstrap>vendor/autoload.php</bootstrap>
</extensions>
Then run paraunit coverage --html=build/coverage in CI."*
How can I help you explore Laravel packages today?