How to introduce third-party libraries in symfony2?
高洛峰
高洛峰 2017-05-16 16:44:40
0
3
578

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!

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(3)
phpcn_u1582

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template