{"id":93284,"library":"heartsentwined-arg-validator","title":"Heartsentwined Arg Validator","description":"Validate function arguments, extending PHP's type hinting capabilities.","status":"active","version":"2.1.1","language":"php","source_language":null,"source_url":"https://github.com/yalesov/php-arg-validator","tags":["validation","arguments","typehint","utility"],"install":[{"cmd":"composer require heartsentwined/arg-validator","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"ArgValidator","correct":"use Heartsentwined\\ArgValidator\\ArgValidator;"}],"quickstart":{"code":"use Heartsentwined\\ArgValidator\\ArgValidator;\n\nfunction greet(string $name): void {\n    ArgValidator::validate(func_get_args(), [\n        'name' => 'string:min=2'\n    ]);\n    echo \"Hello $name\";\n}","lang":"php","description":"Validate function arguments with custom rules."},"warnings":[{"fix":"Use positional arguments or update to a compatible version.","message":"May conflict with PHP 8's named arguments.","severity":"breaking","affected_versions":"<3.0.0"}],"env_vars":null,"search_vec":"'arg':2 'argument':6,14 'capabl':12 'extend':7 'function':5 'heartsentwin':1 'hint':11 'php':8 'type':10 'typehint':15 'util':16 'valid':3,4,13","created_at":"2026-06-19T09:45:40.416813+00:00","updated_at":"2026-06-19T09:45:40.416813+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}}