nilportugues/assert
A lightweight PHP assertion library for validating values and enforcing invariants. It provides expressive, chainable assertions that fail with clear exceptions, helping you catch invalid input early and make code contracts explicit and easy to read.
nilportugues/assert is a lightweight PHP assertion library for validating values and enforcing expectations with expressive, readable checks. It is useful for guarding method arguments, validating domain objects, and adding self-documenting assertions to tests, raising clear exceptions when a condition fails.
How can I help you explore Laravel packages today?