{"id":86262,"library":"phpstan-phpstan","title":"PHPStan","description":"PHPStan - PHP Static Analysis Tool","status":"active","version":"2.2.2","language":"php","source_language":null,"source_url":null,"tags":["static-analysis","phpstan","quality","type-checking"],"install":[{"cmd":"composer require phpstan/phpstan","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Analyser","correct":"use PHPStan\\Analyser\\Analyser;"}],"quickstart":{"code":"use PHPStan\\Analyser\\Analyser;\n\n$analyser = new Analyser(...);\n$result = $analyser->analyse(['path/to/file.php']);","lang":"php","description":"Running PHPStan analysis programmatically"},"warnings":[{"fix":"Update your phpstan.neon to use new format and check for deprecated rules","message":"PHPStan 2.x requires PHP 8.1+ and has breaking changes in configuration","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'analysi':5,9 'check':14 'php':3 'phpstan':1,2,10 'qualiti':11 'static':4,8 'static-analysi':7 'tool':6 'type':13 'type-check':12","created_at":"2026-06-19T07:58:27.681876+00:00","updated_at":"2026-06-19T07:58:27.681876+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":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool"],"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}}