Answer the question
In order to leave comments, you need to log in
Yii2 How to include libraries that are not on packagist?
Let's say there is some API wrapper with code on github.
Not available on packagist, I can't connect it via composer.
I see two ways:
1. Fork and add to packagist
2. Create a folder with libraries in the application (similar to vendor) and throw a class there, prescribing the necessary namespaces.
What method do you use?
Are there other ways?
Answer the question
In order to leave comments, you need to log in
Let's say there is some API wrapper with code on github.
Not available on packagist, I can't connect it via composer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question