Composer-Eclipse-Plugin
Composer-Eclipse-Plugin copied to clipboard
Add vendor libraries to PHP Libraries
Vendor dependencies could be added to the PHP Libraries of PDT, and projects which require the exact same versions of the library could share the same libraries internally - this would improve the indexing times tremendously as only one library needs to be indexed per workspace.
Or maybe use special feature from current PDT snapshot: http://eclip.se/424340
Hey @zulus thanks for the notification. I think it more applies to #70 I will definitely look into this new library folders, I'm excited.
To be more specific about this issue and @pulse00 original intention: When multiple projects require the same dependencies (e.g. symfony components), they are all indexed for their own projects. The idea to detect same requirements, install them globally and also index them globally (so, the indexing is only done once). Personally I don't know about this and, especially the part of the global installation and somehow reference them back to the project. Ideas for this are welcome.
@gossi @zulus i'm not up-to-date with the Library Folder enhancments in PDT snapshot, but as far as i know composer now caches dependencies locally inside ~/.composer/cache/repo/https---packagist.org.
My guess would be that this composer cache could be used for shared indexing, maybe using the Library Folders feature from pdt snapshot.
@gossi You have right. #70 is more close to this feature. @pulse00 I have no idea how it will work with ExternalModules (outside php project, different phpVersions, etc..)