General API interface with CURL: A simple way to access most APIs — use as is or extend as necessary

Since you likely interface with a lot of external APIs, there's no need to keep rewriting the same tool.  Just copy this and use the "apiBaseController" class as you need it.  It's a good, clean way to start any API accessing project!  

Re-authenticating users in Symfony’s FOS User Bundle automatically from other authentication and separate user login systems

Let's say your website uses Symfony's "Friends of Symfony" FOS User Bundle but you also have different internal systems and other ways users can authenticate.  You don't want to keep pestering the user to log back in, the better solution is to get your authentication system that's outside the FOS User Bundle to talk to…