# phan

Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.

Canonical page: https://www.reposhelf.co.uk/projects/github/phan/phan.html

- Project ID: phan/phan
- Source: GitHub
- Original project: https://github.com/phan/phan
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: No licence detected
- Repository availability checked: 2026-11-23T13:15:52.862Z
- Demo page loaded: 2026-11-23T16:17:44.577Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Phan is a static analyzer for PHP that prefers to minimize false-positives. Phan attempts to prove incorrectness rather than correctness.

> Phan looks for common issues and will verify type compatibility on various operations when type information is available or can be deduced. Phan has a good \(but not comprehensive\) understanding of flow control and can track values in a few use cases \(e.g. arrays, integers, and strings\).

- Check that all methods, functions, classes, traits, interfaces, constants, properties and variables are defined and accessible.
- Check for type safety and arity issues on method/function/closure calls.
- Check for PHP 8.5/8.4/8.3/8.2/8.1 backward compatibility.
- Check for features that weren't supported in older PHP 8.x minor releases \(E.g. property hooks, readonly classes, enums, union types, match expressions, etc.\)
- Check for sanity with array accesses.

## Author-documented requirements and audience

> Phan is a static analyzer for PHP that prefers to minimize false-positives. Phan attempts to prove incorrectness rather than correctness.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/phan/phan/blob/v6/README.md

Extraction checked: 2026-11-02T02:09:21.391Z

Last recorded source update: 2026-11-23T12:56:45.000Z

Saved release: 6.0.11 — 2026-10-15T00:33:22.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=phan%2Fphan). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
