As I found many of the available PHP libraries too complicated, I decided to write small and only one PHP class for connecting with the Twitter API via Oauth. I used several ideas from the already available classes and libraries, and I came up with this one. See the demo and download it if you want.
Download here version 1.0. It’s .tar.gz archive including 5 files.
See the demo pages I’ve setup here. The access tokens are saved in session and not stored permanently.
How to use it?
In order to use this class you need to register an application on Twitter. You can do that here. After you register your app, you will need to download the archive file and extract it and upload the files to your web server.
Open the file TwitterOauthConnect.php and change the details describing you app, that is the Consumer Key, Consumer Secret, and the callback url to point to the callback.php file. Use the rest of the files from the archive to configure your installation by your needs.
No license. Use it freely and if you find it useful consider linking to this website.
Right now the comments are the only option. Maybe in the future I will consider any public free source control hosting.