Let’s assume that we want to create the AcmeNewBundle and put it under the namespace Acme\Bundle\NewBundle
in the /src directory. We need to create the corresponding directory structure and the bundle file with the following content:

It is important that you don’t need to update Kernel and routing, as OroPlatform provides its own way to do that,
which will be described in the Enable bundle chapter and in following articles.

Note

Automatic bundle generation is provided by the sensio/generator-bundle package, which is defined in the
require-dev section of the composer.json file in the OroPlatform repository. Therefore, in order to use
automatic generation, please, make sure that this package has been installed (one of the ways to do so is to execute
composerupdate at the project’s root directory to get all packages from the require-dev section).