cxj / validator
functional programming parameter validation
0.0.4
2020-06-04 02:46 UTC
Requires
- php: >=7.4
Requires (Dev)
- phpstan/phpstan: ^0.12.25
- phpstan/phpstan-phpunit: ^0.12.8
- phpunit/phpunit: ^9.1
This package is auto-updated.
Last update: 2024-10-25 22:09:58 UTC
README
This library contains efficient functional programming (FP) routines to test the input and output parameters of your methods. With these validations, you can greatly reduce the amount of coding needed to write a safe implementation.
About
This library is inspired by Larry Garfield's book Thinking Functionally in PHP and builds upon Benjamin Eberlei's assert package, and the revised version by Bernhard Schussek
Authors
Contribute
Contributions to the package are always welcome!
- Report any bugs or issues you find in the issue tracker.
- You can get the source code at the package's Git repository.
License
All contents of this package are licensed under the GPL v3.