{"id":91088,"library":"simplesamlphp-assert","title":"SimpleSAMLphp Assert","description":"A wrapper around webmozart/assert to make it useful beyond checking method arguments","status":"active","version":"2.0.2","language":"php","source_language":null,"source_url":"https://github.com/simplesamlphp/assert","tags":["assertion","validation","simplesamlphp","webmozart"],"install":[{"cmd":"composer require simplesamlphp/assert","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Assert","correct":"use SimpleSAML\\Assert\\Assert;"}],"quickstart":{"code":"use SimpleSAML\\Assert\\Assert;\n\nAssert::string($value, 'Value must be a string');\nAssert::minLength($value, 3, 'Value must be at least 3 characters');","lang":"php","description":"Using SimpleSAMLphp Assert for input validation"},"warnings":[{"fix":"Upgrade PHP to version 7.2 or higher","message":"Requires PHP 7.2+","severity":"breaking","affected_versions":"<2.0.0"}],"env_vars":null,"search_vec":"'argument':14 'around':5 'assert':2,15 'beyond':11 'check':12 'make':8 'method':13 'simplesamlphp':1,17 'use':10 'valid':16 'webmozart':18 'webmozart/assert':6 'wrapper':4","created_at":"2026-06-19T09:13:07.140434+00:00","updated_at":"2026-06-19T09:13:07.140434+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/simplesamlphp/assert","github":"https://github.com/simplesamlphp/assert","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}