PHP library wrapper for type enforcement.