Twitterlibphp is a PHP interface to the Twitter REST API. It tries as hard as it can to keep direct mappings to the actual Twitter API method names, so developers don't have to learn a second API.
Here's a small example to get you started: it will show the second page of your @mentions in JSON.
// require the twitter library require "twitter.lib.php"; // your twitter username and password $username = "username"; $password = "password"; // initialize the twitter class $twitter = new Twitter($username, $password); // fetch your @mentions in json $mentions = $twitter->getMentions(array('page'=>2), 'json'); // pretty-print the json print_r(json_decode($mentions));
You can also keep up to date with the git repository on GitHub.