dev-master
9999999-devA rethinking of generator bundle for Symfony
BSD
The Requires
The Development Requires
by Stepan Anchugov
0.1.0
0.1.0.0A rethinking of generator bundle for Symfony
BSD
The Requires
The Development Requires
by Stepan Anchugov
Wallogit.com
2017 © Pedro Peláez
A rethinking of generator bundle for Symfony
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., (*1)
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., (*2)
Here the ControllerGenerator dispatches a ControllerGenerated event
which then triggers TwigViewGenerator and
UnitTestGenerator
to generate tests and Twig templates., (*3)
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., (*4)
Currently, the implementation is lacking some things:, (*5)
A rethinking of generator bundle for Symfony
BSD
A rethinking of generator bundle for Symfony
BSD