symfony - symfony2: how to integrate a php library which is not a bundle -


i trying integrate agile crm in symfony2 application.

there php library provided agile : https://github.com/agilecrm/php-api

however it's not bundle.

how can integrate correctly in application? should put require once in app.php or kernel? or there better way?

composer has feature auto load files

https://getcomposer.org/doc/04-schema.md#files

{     "autoload": {         "files": ["src/mylibrary/functions.php"]     } } 

other ways ?

expose functionality service using code provided in library.


Comments