I
I
Iossarian2019-03-29 11:27:12
Yii
Iossarian, 2019-03-29 11:27:12

How to make changes in third-party libraries?

Good afternoon. Poke your nose at a good article or tell yourself how to work with libs delivered using composer in yii2? I mean, if I need to change some functionality in, say, a third-party widget controller, or fix the layout of a widget, what is the right way to work with it without breaking the structure and pushing the necessary changes to git? So that another developer can pull the changes to himself.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Bay, 2019-03-29
@kawabanga

Inherit.

V
vism, 2019-03-29
@vism

Many third-party libraries are poorly written, so the figs will be inherited.
If it doesn’t work out to inherit, I forked them into my turnip and connected the fork.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question