D
D
Dmitry2015-11-11 23:43:52
PHP
Dmitry, 2015-11-11 23:43:52

How to combine different versions of the same library?

There are several libraries, each pulls to itself guzzle.
One is version 3, another is version 5, and the third is version 6.
You can of course rewrite everything for version 6. But I don't think this is an option.
How to correctly resolve the zoo of versions of one library?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2015-11-11
@miraage

Perhaps this is not the most painless option, but I would rewrite everything to 6, so that it would be easier to maintain later.
You can abstract code.

V
Vasily, 2015-11-12
@dedik

I don't know about guzzle, but I did it with jQuery.
Maybe you can do it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question