Hi, experienced developer, but phalcon newbie here. I'm building an OpenID auth system (log in with google/facebook/twitter etc) though this question is not specific to that scenario.
When I want to use an external library, for example Google's php-api-client library, I can't seem to work out how to successfully register this with my application.
I have used Phalcon\Loader to register my 'libraries' folder, but when I call a class that exists in that folder which relies upon other classes in sub folders, it cannot locate the files in the sub folders and complains about paths with a "failed to open stream: No such file or directory in..."
Am I missing something? Should I be registering all of the sub folders in 'libraries'? Am I going to have to edit all of the "require_once" statements in every google library file?