PHPackages                             tysonandre/php-parser-to-php-ast - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. tysonandre/php-parser-to-php-ast

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

tysonandre/php-parser-to-php-ast
================================

A pure PHP substitute for nikic/php-ast, using nikic/php-parser. Can also be used to generate php-ast trees, even for files with some types of syntax errors.

0.2.1(6y ago)124[1 PRs](https://github.com/TysonAndre/php-parser-to-php-ast/pulls)MITPHP &gt;=7.1

Since Sep 1Compare

[ Source](https://github.com/TysonAndre/php-parser-to-php-ast)[ Packagist](https://packagist.org/packages/tysonandre/php-parser-to-php-ast)[ RSS](/packages/tysonandre-php-parser-to-php-ast/feed)WikiDiscussions Synced today

READMEChangelogDependencies (3)Versions (8)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/TysonAndre/php-parser-to-php-ast).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~230 days

Total

5

Last Release

2251d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ffb9e612975be17e9ed477553358f2ced14a904b1031305ad4da55bb3861b332?d=identicon)[TysonAndre](/maintainers/TysonAndre)

---

Tags

phpparserast

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tysonandre-php-parser-to-php-ast/health.svg)

```
[![Health](https://phpackages.com/badges/tysonandre-php-parser-to-php-ast/health.svg)](https://phpackages.com/packages/tysonandre-php-parser-to-php-ast)
```

###  Alternatives

[ajthinking/archetype

Programmatically edit PHP and Laravel files.

2723.4M12](/packages/ajthinking-archetype)[atanamo/php-codeshift

A PHP code transformation toolkit based on 'PHP-Parser'

32158.4k1](/packages/atanamo-php-codeshift)[simplehtmldom/simplehtmldom

A fast, simple and reliable HTML document parser for PHP.

1921.3M14](/packages/simplehtmldom-simplehtmldom)[corveda/php-sandbox

A PHP library that can be used to run PHP code in a sandboxed environment

23483.5k2](/packages/corveda-php-sandbox)[psx/sandbox

PHP sandbox to execute a safe subset of the PHP programming language

1745.8k1](/packages/psx-sandbox)[voku/simple-php-code-parser

Get a simple data structure from your php code.

485.6k3](/packages/voku-simple-php-code-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
