S
S
Stanislav2015-02-09 15:46:00
Yii
Stanislav, 2015-02-09 15:46:00

How to move a component from the yii/vendor folder to the project folder in Yii2?

It is necessary to transfer the component from the yii / vendor folder to which there is no access to the project folder, so that later it can also be edited. How, where to put, etc.?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Timofeev, 2015-02-09
@Agregator

create a folder (any, for example components) and transfer (for example crtl+c crtl+v). Only it will be necessary to fix the namespace in all files and where you call

Y
yamaha252, 2015-02-11
@yamaha252

No need to pull third-party libs into your project. Create a fork, fix the dependencies for the composer, and use it. Yes, and useful corrections can still be sent to the authors by pull-request.

X
xskif, 2015-02-11
@xskif

How about inheriting the target class and changing what doesn’t suit it, in any way?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question