yorvoid / policy-testing
Tests for an application's YorvoID policy: the decisions it must give, as cases in PHP, run in PHPUnit or from a command, on the policy as production builds it with its stores in memory, and mutation testing.
Requires
- php: >=8.4
- doctrine/dbal: ^4.3
- phpunit/phpunit: ^12.0 || ^13.0
- symfony/console: ^7.4 || ^8.1
- yorvoid/authn: ^0.4
- yorvoid/core: ^0.4
- yorvoid/passkeys: ^0.4
- yorvoid/policy: ^0.4
- yorvoid/relations: ^0.4
- yorvoid/testing: ^0.4
- yorvoid/throttle: ^0.4
Requires (Dev)
None
Suggests
- symfony/dependency-injection: For the Symfony bundle: the policy under test from the application's own container
- symfony/http-kernel: For the Symfony bundle
- symfony/service-contracts: For the Symfony bundle
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-14 22:55:46 UTC
README
Tests for an application's YorvoID policy (AUZ-043): the decisions it must give, written as cases in PHP, and run in PHPUnit or from a command, on the policy as production builds it with only its stores in memory, and mutation testing that reports what no case catches. For development only. Part of YorvoID, identity and access management for PHP.
composer require --dev yorvoid/policy-testing
Read Test your policy, and the rest of the documentation.
Read-only
This package is developed in yorvoid/yorvoid, in packages/policy-testing; its own repository is a read-only copy. Please open issues and pull requests in yorvoid/yorvoid, and report vulnerabilities privately as the security policy describes.
License
Licensed under the Apache License 2.0; see also NOTICE.