{"id":93340,"library":"yalesov-arg-validator","title":"Arg Validator","description":"Validate function arguments, extending typehinting capabilities of PHP.","status":"active","version":"2.1.1","language":"php","source_language":null,"source_url":"https://github.com/yalesov/php-arg-validator","tags":["validation","type-hinting","arguments","utilities"],"install":[{"cmd":"composer require yalesov/arg-validator","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"ArgValidator","correct":"use Yalesov\\ArgValidator\\ArgValidator;"}],"quickstart":{"code":"use Yalesov\\ArgValidator\\ArgValidator;\n\nfunction greet(string $name, int $age) {\n    ArgValidator::validate(func_get_args(), [\n        'name' => 'string',\n        'age' => 'int'\n    ]);\n    echo \"Hello $name, you are $age years old.\";\n}","lang":"php","description":"Validate function arguments with custom rules"},"warnings":[],"env_vars":null,"search_vec":"'arg':1 'argument':5,15 'capabl':8 'extend':6 'function':4 'hint':14 'php':10 'type':13 'type-hint':12 'typehint':7 'util':16 'valid':2,3,11","created_at":"2026-06-19T09:46:38.579018+00:00","updated_at":"2026-06-19T09:46:38.579018+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/yalesov/php-arg-validator","github":"https://github.com/yalesov/php-arg-validator","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}}