Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

tree-sitter-php

PHP grammar for Tree-sitter.

Scraping, browsers and parsingNPM

GitHubWebsite

1. License

License from npm.

github.com/tree-sitter/tree-sitter-php

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What tree-sitter-php does

PHP grammar for Tree-sitter.

tree-sitter-php popularity

42 / 100
Gid Score, #2869 overall
766K
downloads a week, npm
234
GitHub stars
tree-sitter-php: downloads per weeknpm, tree-sitter-php 765,949
tree-sitter-php: GitHub starstree-sitter/tree-sitter-php 234

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How tree-sitter-php is used

  • tree-sitter-php joined the catalog on its public numbers (765,949 downloads a week on npm and 234 GitHub stars), not on our project count: it is a dependency in 15 public GitHub projects of our scan, 0 of them set up for AI coding agents.
  • Projects that use it most often also use tree-sitter-go (100.0%), tree-sitter-javascript (100.0%), tree-sitter-python (100.0%).

Often used with

In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 93.3% of its projects
In 93.3% of its projects

More about tree-sitter-php

Funding
  • GitHub Sponsors: https://github.com/tree-sitter
  • Open Collective: https://opencollective.com/tree-sitter
  • Ko-fi: https://ko-fi.com/amaanq
  • 13 GitHub sponsors

See all

More in Scraping, browsers and parsing

Alternatives

tree-sitter-php This page

MITGid 42766K/wk

Compare tree-sitter-php with another tool

Get started

Install it.

npm install tree-sitter-php

No step-by-step start for tree-sitter-php yet: we have not written its hand-checked card.