That is actually how you are *supposed* to do it. the vendors including the cake core should never be commited and tracked.
See https://github.com/dereuromark/cakefest for an example implementation (both 2.x and 3.x composered). mark Am Sonntag, 12. Juli 2015 13:23:06 UTC+2 schrieb [email protected]: > > I have a standard Cake project setup on Github. The project root for has > the app, lib folders in addition to all the other files like .gitignore. I > would like to remove the lib folder from my repo and control which Cake > version I am using with a dependency manager. Is this possible with > composer? > > For example, I could just change the composer json file from Cake 2.4 to > 2.6, and the repo will not have to track the lib folder. Then when I want > to put the project online, I can just have composer download the lib > folder. > > Is this possible? What would that composer file look like? I tried > adding "cakephp/cakephp": "~2.6" to the composer file but it gives and > error saying the package could not be found. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
