I started using Symfony 2 after having experience with 5 php frameworks like Zend, CodeIgniter, Fuel, Yii and Cake. I am very confused on how to structure my project as better as I can. First of all I am confused in working with bundles. Bundles are some kind of modules used in other frameworks? Bascially I have my application and everything until now is stored in a bundles. If I want to make some helper functions and some libraries and abstract classes, I just make a new bundle for those?
Asked
Active
Viewed 3,350 times
2 Answers
2
See the Bundle Structure and Best Practices cookbook entry for basic ideas on the structure of a bundle.
I recommend having just one app specific bundle. I call it AppBundle
.
Also, you don't have to have everything in bundles. Check this question for details.

Community
- 1
- 1

Elnur Abdurrakhimov
- 44,533
- 10
- 148
- 133