Ok, that example clears up my confusion. Basically when cake is required
within the composer file, it gets downloaded to the Vendor folder.
I then need to edit my app/webroot/index.php to point to the Cake core lib
folder in /Vendor/cakephp/. Is that correct?
Also, I noticed composer also downloaded the app folder structure into the
Vendor. I am assuming that is just how it is and you can't just download
the required core/lib Cake folders?
On Monday, July 13, 2015 at 8:10:52 AM UTC-7, euromark wrote:
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 brett.shi...@gmail.com:
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 cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.