Registry / build-tool / etsy-phan

etsy-phan

JSON →
library6.0.1phppackagistunverified

A static analyzer for PHP that detects potential issues in code.

composer require etsy/phan
INSTALL
IMPORT
SIG · ETSY-PHAN
E
etsy-phan
build-toolphpv6.0.1
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 static analysis on a PHP file using Phan.

use Phan\Phan; Phan::analyzeFile('path/to/file.php');
Debug
Known issues
breakingPhan requires PHP 7.2+ and may have breaking changes between major versions.
fix
Ensure your PHP version is compatible and check the changelog before upgrading.
affects: >=6.0.0
Upgrade
Version history
6.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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