Symfony2 Code Generator.
Features:
- Use twig to create configurable templates
- Add templates to generator via configuration file
- Generate code from mapped entities
- Generate bundle skeleton
- Manipulate existing code
- Easily extend included templates
Read the documentation.