I've been trying to replicate this Geocaching API example by Surfoo. I dropped the files on my server and now I'm getting:
Warning: require(/geocaching/vendor/autoload.php): failed to open stream: No such file or directory in /geocaching/index.php on line 6
This file isn't anywhere to be seen with the downloaded example and I haven't heard anything back from the owner yet. So is this simply a missing file or is this a file I need to build myself to load the appropriate code? I know CakePHP uses vendors and the like but I have no idea how to implement that.
Finally found an answer to this question.
Basically I needed PHP composer to manage dependencies. for anyone interested just follow the getting started section to install the relevant files.
For anyone who is interested in using the Geocaching API with PHP I have put together a Git Repository which should work right out of the box. Just drop all file on your server.