Prism is purpose-built for validation testing. Instead of writing repetitive PHPUnit tests, you write declarative test cases and Prism executes them with powerful features like parallel execution, snapshot testing, fuzzing, and benchmarking.
|
|
||
|---|---|---|
| .github | ||
| bin | ||
| docker/php | ||
| examples | ||
| src | ||
| tests | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| composer.json | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| ecs.php | ||
| LICENSE.md | ||
| Makefile | ||
| phpstan.neon.dist | ||
| phpunit.xml.dist | ||
| README.md | ||
| rector.php | ||
| SECURITY.md | ||
| testbench.yaml | ||
Prism
Prism is purpose-built for validation testing. Instead of writing repetitive PHPUnit tests, you write declarative test cases and Prism executes them with powerful features like parallel execution, snapshot testing, fuzzing, and benchmarking.
Requirements
Requires PHP 8.5+
Installation
composer require cline/prism
Documentation
- Getting Started - Installation and basic usage
- Configuration - Configure test suites
- Filtering - Filter tests by name, path, tags
- Performance - Parallel execution and profiling
- Advanced Features - Snapshots, fuzzing, validator comparison
- Output Formats - JSON and JUnit XML output
- Custom Assertions - Pluggable assertion logic
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.