PHPackages                             kix/generator-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kix/generator-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kix/generator-bundle
====================

A rethinking of generator bundle for Symfony

0.1.0(11y ago)720BSDPHP

Since Dec 11Pushed 11y agoCompare

[ Source](https://github.com/kix/generator-bundle)[ Packagist](https://packagist.org/packages/kix/generator-bundle)[ RSS](/packages/kix-generator-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Code generators
===============

[](#code-generators)

This is a collection of Symfony 2 code generators based on nikic's PHP-Parser. These generators can be way more flexible than the ones provided by SensioGeneratorBundle due to their event-based nature.

First, all generators utilize an event dispatcher to notify others of the changes. This allows automatic tests/specs generation once a base generator has fired.

[Here the `ControllerGenerator` dispatches a `ControllerGenerated` event](https://github.com/kix/generator-bundle/blob/master/src/Generator/ControllerGenerator.php#L56)which then triggers [TwigViewGenerator](https://github.com/kix/generator-bundle/blob/master/src/Generator/TwigViewGenerator.php#L20) and [UnitTestGenerator](https://github.com/kix/generator-bundle/blob/master/src/Generator/UnitTestGenerator.php#L36)to generate tests and Twig templates.

Second, an AST processor dispatcher is built in. You can hook up your own `ProcessorInterface`implementations that would modify the syntax tree before it's dumped into a file.

Currently, the implementation is lacking some things:

- PHPParser does not yet allow dumping comment blocks, so there's no way to generate annotations yet.
- The ControllerGenerator is mostly just proof-of-concept.
- AST processors have not really been tested yet.
- Everything needs way more flexibility.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4221d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/685f6393a3f357d69fbbc886e2ea3bb1031076c4b0f206ca81e290af6ad5d2f5?d=identicon)[kix](/maintainers/kix)

---

Top Contributors

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

---

Tags

bundlesymfonysymfony-bundle

### Embed Badge

![Health badge](/badges/kix-generator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kix-generator-bundle/health.svg)](https://phpackages.com/packages/kix-generator-bundle)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k8.8M117](/packages/deptrac-deptrac)[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

6003.7M96](/packages/roave-backward-compatibility-check)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4814.0M25](/packages/coenjacobs-mozart)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12525.9M149](/packages/phpdocumentor-reflection)

PHPackages © 2026

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