Copula is a CakePHP plugin for interacting with remote APIs like Facebook and Google. It takes care of all the boring details: you don't have to worry about connecting to the service or storing access tokens.
The word copula derives from the Latin noun for a "link" or "tie" that connects two different things.
Copula is, in itself, not very useful, and primarily aimed at developers.
- Supports both OAuth and OAuth v2
- Access tokens can be stored in the session, or persisted in your database
- Integrates with CakePHP's built-in Authorization features
In addition, Copula is well-tested, and working towards 100% code coverage.
- Clone or download Copula to
app/Plugin/Copula
- Follow the Integration Guide
Copula has recently been rewritten and is necessarily incompatible with any plugins using previous versions. The code has been tested to work with Twitter (OAuth v1) and Google Cloud Print (OAuth v2). You may expect this section to be expanded shortly.
Copula is © Patrick Leahy and Dean Sofer. HttpSocketOAuth is © Dean Sofer and Neil Crookes. All code is dual-licensed under both the MIT license and the GNU GPL version 2 or later.