I am developing a new multi vendor ecommerce component for Joomla 3. I am looking for stable open source PHP payment library which will help me to integrate various payment gateways to the component. I have checked Omnipay in Github https://github.com/omnipay/omnipay It looks encouraging. I just installed the library in my local server using composer with all available gateways for testing. I haven't gone through all its functionality or started the integration process. I am getting worried looking at the size of the library. It is around 7.5 MB unpacked. This makes it impossible to be used in my platform. It is just too big. However I feel there are many unnecessary files which I may skip but I am not sure.
Can ansyone advice me the minimum required files which I need to run the library with all available gateways?