Contributing to Symfony MakerBundle

JoliCode - JoliCodeBlog - 10/04
Let's be honest, I love Symfony MakerBundle, I know it may not be a popular tool among experienced developers that may prefer to build code from scratch but this brick of Symfony is a gem 💎. One of the good things about the MakerBundle, is that it can show you the best practice,

Let’s be honest, I love Symfony MakerBundle, I know it may not be a popular tool among experienced developers that may prefer to build code from scratch but this brick of Symfony is a gem 💎.

One of the good things about the MakerBundle, is that it can show you the best practice, so if you always make your controllers a certain way (copy/pasting for example) maybe you should try a make:controller next time and start from a fresh template instead?

Let’s get back to my problem. Fact is, I’m not so good at remembering Doctrine ORM relations (OneToMany ; ManyToOne ; OneToOne and ManyToMany). In this case MakerBundle makes it extra easy with the make:entity command.

It will ask you about your relation and give you a text to help on that precise case.

Somethi...
[Courte citation de 8% de l'article original]

Loading...