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 1mo ago

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 37% 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

4173d 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

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[roave/backward-compatibility-check

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

5953.3M56](/packages/roave-backward-compatibility-check)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[recca0120/laravel-erd

Laravel ERD automatically generates Entity-Relationship Diagrams from your Laravel models and displays them using Vuerd.

36072.0k](/packages/recca0120-laravel-erd)[ondrejmirtes/better-reflection

Better Reflection - an improved code reflection API

136.2M4](/packages/ondrejmirtes-better-reflection)

PHPackages © 2026

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