laravel - How can I develop a package to use an earlier version of Guzzle than my app uses? -


i'm developing new package inside of existing laravel 5 app. plan on using package inside of app. want package depend on guzzle v4.2.3. app i'll use package in has dependency on aws sdk, pulling guzzle v6 app. how can make sure package uses earlier version of guzzle? possible?

sorry -- you can't use 2 versions of single package composer.

this makes sense due namespace collisions:

// foo v3 namespace foo; class bar {  // foo v4 namespace foo; class bar { 

there's no way composer autoloading in case, both versions use same namespace , class.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

c# - MSDN OneNote Api: Navigate to never before opened page without opening a OneNote Application Window -