Search code examples
phpsymfonysymfony-2.3symfony-sonata

moving bundle from vendor to src directory


I installed SonataMedia in the vendor/ directory of my project using composer and everything was working fine. I wanted to move the bundle to the src folder to keep everything tidy..

is there any way to move bundle from vender to src directory?


Solution

  • Yes, copy past the namespace directories to the src directory...

    But really, why do you want this? The directory structure is not important and even if it was, it is better to put the 3th party bundles in the vendor directory to seperate your bundles from 3th party bundles