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!
phpcn_u15822017-05-16 16:46:40
Refer to the phpfig specification and composer package production.
高洛峰2017-05-16 16:46:40
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.