PHPackages                             grizz-it/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. grizz-it/ast

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

grizz-it/ast
============

An abstraction layer for creating generated logic.

1.3.1(4y ago)2102↓100%MITPHPPHP ^8.0

Since Oct 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/grizz-it/ast)[ Packagist](https://packagist.org/packages/grizz-it/ast)[ RSS](/packages/grizz-it-ast/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

[![Build Status](https://camo.githubusercontent.com/5b49c24d62ee8e6edcbf9070b646454b8164d33ef8a09ef5c2f8c48d9f341eb0/68747470733a2f2f7472617669732d63692e636f6d2f6772697a7a2d69742f6173742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/grizz-it/ast)

GrizzIT AST
===========

[](#grizzit-ast)

This package contains an implementation of AST for usage within PHP applications. By default it supplies a set of classes to create PHP files.

Installation
------------

[](#installation)

To install the package run the following command:

```
composer require grizz-it/ast

```

Usage
-----

[](#usage)

Please see the [documentation](docs/index.md) for information on the usage of this package.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

MIT License
-----------

[](#mit-license)

Copyright (c) GrizzIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~51 days

Total

5

Last Release

1775d ago

PHP version history (2 changes)1.0.0PHP ^7.3

1.3.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6463856a0e35d69706d07c4e44fd1c9e67e27c34efeeef5334b238b1b3410e9c?d=identicon)[GrizzIT](/maintainers/GrizzIT)

---

Top Contributors

[![mfrankruijter](https://avatars.githubusercontent.com/u/8653925?v=4)](https://github.com/mfrankruijter "mfrankruijter (5 commits)")

---

Tags

astgeneratorphpgeneratorfilesast

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/grizz-it-ast/health.svg)

```
[![Health](https://phpackages.com/badges/grizz-it-ast/health.svg)](https://phpackages.com/packages/grizz-it-ast)
```

###  Alternatives

[ajthinking/archetype

Programmatically edit PHP and Laravel files.

2723.3M9](/packages/ajthinking-archetype)[jakubledl/dissect

Lexing and parsing in pure PHP

2234.6M11](/packages/jakubledl-dissect)[palantirnet/drupal-rector

Instant fixes for your Drupal code by using Rector.

1534.0M17](/packages/palantirnet-drupal-rector)[rumenx/php-sitemap

Framework-agnostic Sitemap generator for PHP, Laravel, and Symfony.

1.3k11.2k1](/packages/rumenx-php-sitemap)[phpowermove/docblock

PHP Docblock parser and generator. An API to read and write Docblocks.

2522.9M4](/packages/phpowermove-docblock)[abcaeffchen/sephpa

Generates SEPA files for credit transfers (pain.001.001.03, pain.001.002.03, pain.001.003.03, pain.001.001.09) and direct debit (pain.008.001.02, pain.008.002.02, pain.008.003.02, pain.008.001.08)

711.7M](/packages/abcaeffchen-sephpa)

PHPackages © 2026

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