atournayre / assert
Assertions to validate method input/output with nice error messages.
Installs: 2 013
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: >=8.0
- ext-ctype: *
- symfony/intl: ^6.2
- symfony/validator: ^6.2
- webmozart/assert: ^1.11
Requires (Dev)
- phpunit/phpunit: ^10.0
Conflicts
- phpstan/phpstan: <0.12.20
- vimeo/psalm: <4.6.1 || 4.6.2
This package is auto-updated.
Last update: 2024-12-01 00:22:47 UTC
README
This library extends webmozart/assert with additional assertions.
Installation
Use Composer to install the package:
composer require atournayre/assert
Assertions
The [Assert
] class provides the following assertions:
Type Assertions
Contribute
Contributions to the package are always welcome!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at the package's Git repository.
License
All contents of this package are licensed under the MIT license.