← Tilbage til værktøjer
Phan
Static analyzer med fokus på type checking og dead code detection
Version: 5.x
✨ Features
- ✓Deep type inference
- ✓Dead code detection
- ✓Backward compatibility checks
- ✓Unused variable detection
- ✓Method signature analysis
- ✓AST-based analysis
- ✓Plugin system
- ✓Multi-file analysis
- ✓PHP 8.x support
- ✓Incremental analysis mode
📦 Installation
composer require --dev phan/phan⚡ Almindelige Kommandoer
phan --progress-bar - Analyser projektphan -k config/phan.php - Med custom configphan --dead-code-detection - Find dead codephan --color - Colored outputphan -m json - JSON output formatphan --backward-compatibility-checks - Check BC breaks
💼 Use Cases
- •Deep static type checking
- •Find dead and unreachable code
- •Detect backward compatibility issues
- •Analyze complex type hierarchies
- •Large codebase analysis
- •Security vulnerability detection