How to use external library


I must to add external library to my aplication.

Unfortunatelly it is quite old and multiple requires in the file and folder structure.

Is there some generel rule how to use it? For example use it from vendor folder or components folder?



No, there’s no general rule. If it’s not Composer package, use it the same way as you’d use it in plain PHP.