Hello maintainers.
Thanks for the great work on this module. I noticed that there is a dependency on Composer Autoload, but I wondered if you would explore integrating with Composer Manager as well? The main advantage is that it allows module to place all third party dependencies in a single location and use the same autoloader so that maintenance is easier and the possibility of duplicate packages is eliminated.
For example, if you used this module in tandem with Git Wrapper and the Composer Autoload technique was used, you would actually have two duplicate installs of Symfony's Event Dispatcher component. Which one is called depends on which autoloader is registered first in the application.
Anyways, I just wanted to throw this suggestion out there.
Thanks,
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | guzzle-1979822-5.patch | 1.2 KB | corvus_ch |
| #2 | 1979822-composer-manager-integration.patch | 266 bytes | tayzlor |
Comments
Comment #1
andyhu commented+1 for this
Comment #2
tayzlor commentedHere's a patch that adds that integration, everything else should just fall out through the composer_manager module. Note, you might need this patch with the current latest stable of composer_manager - https://drupal.org/node/2059371#comment-7727767
Comment #3
tayzlor commentedComment #4
tsphethean commentedWorks for me!
Comment #5
corvus_ch commentedA different approach would be to do not add a dependency to either composer_manager or composer_autoload and leave it ti the developer to decide which solution to choose.
Comment #6
cpliakas commented+1. I like that approach.
Comment #7
cpliakas commentedJust as an FYI, we are discussing potentially rolling a Guzzle integration module into the Composer Manager codebase since there are some challenges with D8's adoption of Composer. See #2128353-31: D8 strategy for Composer Manager for more details.
Comment #8
cpliakas commentedComment #9
cpliakas commentedClosing as fixed, since this project has been deprecated in favor of Composer Manager as noted on the project page.