March 14, 2018 Javier Eguiluz

Symfony Maker Bundle is the fastest way to generate the most common code you'll need in a Symfony app: commands, controllers, form classes, event subscribers, etc. This bundle was introduced in time for the Symfony 4 release and it's an alternative to SensioGeneratorBundle in modern Symfony apps.

During the past months we've been busy improving it and its latest 1.2.0 version includes two new interesting features.

Added a new make:crud generator¶ This new generator is similar to the well-known doctrine:generate:crud command from SensioGeneratorBundle and it generates a basic CRUD interface for the given Doctrine entity: 1 2 3 4 5 6 7 8 9 10 11 12 $ bin/console make:crud BlogPost created: src/Controller/BlogPostController.php created: src/Form/BlogPostType.php created: templates/blog_post/_delete_form.html.twig created: templates/blog_post/_form.html.twig created: templates/blog_post/index.html.twig created: templates/blog_post/show.html.twig created: templates/blog_post/new.html.twig created: templates/blog_post/edit.html.twig Success! Although this generator is not (and it will never be) a full-featured admin generator, it can be useful to quickly bootstrap some feature in your projects.