Using Symfony console
Symfony framework comes with a built-in console tool that we can trigger by simply executing the following command within our project root directory:
By doing so, an extensive list of available commands is shown on screen, sectioned into the following groups:
These empower us with various functionalities. Our special interest moving forward is going to be around
generate commands. The
doctrine command, more specifically
doctrine:generate:crud, generates a CRUD based on an existing Doctrine entity. Furthermore, the
doctrine:generate:entity command generates a new Doctrine entity inside an existing bundle. These ...