@ michael-sivolobov's answer is very good.
But I want to add more clarity to the answer to the question:
Do you plan to split this package into multiple applications? [Not]:
The Symfony Bundle generator needs to decide whether to use the generated package.
If yes answers this question: this means that your generated Bundle will be used " as is " with several projects, and not just for your current project, so you need the " provider " prefix for the generated package, and also add the prefix to the namespace generated package.
After non-compliance with the agreement, a message will be printed from the console, which reads:
Each package is hosted under a namespace (for example, Acme / BlogBundle). the namespace should begin with the name of the βproviderβ, such as the name of your company, the name of your project or the name of your customer, followed by one or more optional categories of sub-names of spaces, and it must end with a bunch of the name itself (which should have a Bundle as suffix).
See Best Practice for Package Names for more information on the naming convention kit.
Use / instead of \ for the namespace delimiter to avoid any problems.
The file structure for the generated package in src/ dirctory will be:
ββ src/ β ββ yourVendor/ β ββ yourBundle/ β ββ Controller/ β ββ DependencyInjection/ β ββ Resources/ β ββ Tests/ β ββ yourVendorYourBundle.php/
If you answer this question with No : this means that you intend to use your generated package only for your current project, so you donβt need the supplierβs name as a prefix as it will never be used.
The file structure for the generated package in src/ dirctory will be:
ββ src/ β ββ yourBundle/ β ββ Controller/ β ββ Resources/ β ββ Tests/ β ββ yourBundle.php/
Here is a good documentation on Project Creation Recommendations .