{"id":86609,"library":"phan-phan","title":"Phan","description":"A static analyzer for PHP that detects potential bugs and code issues.","status":"active","version":"6.0.5","language":"php","source_language":null,"source_url":"https://github.com/phan/phan","tags":["static-analysis","linting","code-quality","php"],"install":[{"cmd":"composer require phan/phan","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Phan","correct":"use Phan\\Phan;"}],"quickstart":{"code":"use Phan\\Phan;\n\n$phan = new Phan();\n$phan->analyzeFiles(['src/']);\n$issues = $phan->getIssues();\nforeach ($issues as $issue) {\n    echo $issue->getMessage() . \"\\n\";\n}","lang":"php","description":"Run Phan analysis on a directory and output issues."},"warnings":[{"fix":"Use Phan's progress display and memory limit settings; consider incremental analysis.","message":"Phan requires PHP 7.2+ and may have performance issues on large codebases.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'analysi':16 'analyz':4 'bug':10 'code':12,19 'code-qu':18 'detect':8 'issu':13 'lint':17 'phan':1 'php':6,21 'potenti':9 'qualiti':20 'static':3,15 'static-analysi':14","created_at":"2026-06-19T08:04:50.634642+00:00","updated_at":"2026-06-19T08:04:50.634642+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/phan/phan","github":"https://github.com/phan/phan","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","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}}