nunzion/php-expect (packagist): An expressive but lightweight library to validate preconditions and invariants.
Keywords: exception|validation|assert|assertion|argument|expect|precondition|invariant