-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add documentation for using Symfony without bundles. #5535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Here is my opinion : |
@dupuchba Imho the point is more to explain how you can write your application without the need to create an application bundle (actually, there is no need to create a bundle for your application code and bundles just make it easier to publish code that could be reused in other applications). |
@xabbuh ok, I didn't get it that way. Now it make more sense :-) |
@nesl247 A few other important parts are:
|
@iltar the configuration of autoloading is not related to bundles. It is just using Composer features directly. |
and for translations, if you follow the best practices, they are already placed in |
@stof correct, but |
What's in |
That works too. |
I'm closing this old issue because with Symfony Flex, we'll no longer have bundles for our own code starting from Symfony 4.0. So, this proposal to add just an article explaining how to get rid of app bundles won't be needed ... because we'll update the entire docs to get rid of those bundles. Thanks! |
A bundle is supposed to be a reusable set of code, which means that AppBundle for instance, is unneeded. It's becoming more and more popular to go "bundleless", and thus we should have documentation on how to do this.
I'm going to try and write this documentation per discussions with @weaverryan. It seems to be something that other people are interested in.
To Do:
src/
--fixtures=app/DataFixtures/ORM
)The text was updated successfully, but these errors were encountered: