php-parser

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

Package Health Score

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

Maintenance

HEALTHY

Commit Frequency

Loading chart...

Open Issues
15
Open PR
9
New PRS
1
Last Release
6 days ago
Last Commit
2 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 (303.0k)
GitHub Stars
561
Forks
75
Contributors
0

The npm package php-parser receives a total of 302,963 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 561 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
0
Funding
Yes
LICENSE
BSD-3-Clause

This project has seen only 10 or less contributors.

License

MIT>=0.0.1 <0.0.3;
BSD-3-Clause>=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.5.1)

Package versions

84 VERSIONS IN TOTAL See all versions
versionpublisheddirect vulnerabilities
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
3.2.110 Nov, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
3.2.06 Nov, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L