Registry / build-tool / phan-phan

phan-phan

JSON →
library6.0.5phppackagistunverified

A static analyzer for PHP that detects potential bugs and code issues.

composer require phan/phan
INSTALL
IMPORT
SIG · PHAN-PHAN
P
phan-phan
build-toolphpv6.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Phan
use Phan\Phan;

Run Phan analysis on a directory and output issues.

use Phan\Phan; $phan = new Phan(); $phan->analyzeFiles(['src/']); $issues = $phan->getIssues(); foreach ($issues as $issue) { echo $issue->getMessage() . "\n"; }
Debug
Known issues
gotchaPhan requires PHP 7.2+ and may have performance issues on large codebases.
fix
Use Phan's progress display and memory limit settings; consider incremental analysis.
affects: *
Upgrade
Version history
6.0.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
phan-phan — pip install phan-phan · libregistry