N
N
neochar2017-01-10 12:50:07
Yii
neochar, 2017-01-10 12:50:07

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

1 answer(s)
E
Evgeny Komarov, 2017-01-10
@neochar

Let's say there is some API wrapper with code on github.
Not available on packagist, I can't connect it via composer.

what are you saying .... RTFM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question