The way I understand it is mainly through Composer or git.
How can I introduce self-written libraries (not hosted on git or submitted to Packagist) and some open platform SDKs into the project?
The first thing I thought of was to integrate these libraries by implementing a Bundle and then introduce them into the symfony project. I would like to know how friends with experience in this area implement it. It is best to describe it in detail. Thank you!
Refer to the phpfig specification and composer package production.
Just click include and require
Be more elegant and use composer
https://github.com/happen-zhang
There is a symfony2 tutorial in it, and it seems to be mentioned in the chapter about search
When adding other third-party libraries, there is generally no need to include, composer is enough. But you can also load it manually, and most standard third parties can autoload.