php-parser

Parse PHP code from JS and returns its AST
Licenses: BSD-3-Clause | MIT

Package Health Score

92/100
  • securityNo known security issues
  • popularityPopular
  • maintenanceHealthy
  • communityActive

Maintenance

HEALTHY

Commit Frequency

Loading chart...

Open Issues
14
Open PR
13
New PRS
1
Last Release
17 days ago
Last Commit
15 days ago
Maintainers
2

Further analysis of the maintenance status of php-parser based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that php-parser demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Popularity

POPULAR
Weekly downloads (321.3k)
GitHub Stars
563
Forks
75
Contributors
50

The npm package php-parser receives a total of 321,299 downloads a week. As such, we scored php-parser popularity level to be Popular.

Based on project statistics from the GitHub repository for the npm package php-parser, we found that it has been starred 563 times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

ACTIVE
Readme.md
Yes
Contributing.md
Yes
Code of Conduct
Yes
Contributors
50
Funding
Yes
LICENSE
BSD-3-Clause

With more than 10 contributors for the php-parser repository, this is possibly a sign for a growing and inviting community.

License

BSD-3-Clause>=0.0.3;
MIT>=0.0.1 <0.0.3;

Direct Vulnerabilities

Known vulnerabilities in the php-parser package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free

Security

NO KNOWN SECURITY ISSUES
Show only direct vulnerabilities in latest version
No vulnerabilities found

No vulnerabilities found in the latest version

There are 1 total vulnerabilities, but none affect the latest version (3.7.0)

Package versions

86 VERSIONS IN TOTAL See all versions
versionpublisheddirect vulnerabilities
3.7.010 Jun, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.6.017 May, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.5.129 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.5.022 Mar, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.4.021 Feb, 2026
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
3.3.018 Feb, 2026
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
3.2.510 Jul, 2025
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
3.2.427 Jun, 2025
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
3.2.317 Apr, 2025
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
3.2.231 Dec, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L