I found this PHP Twitter Class after having recently started developing my own class. I’d recommend downloading this if you’re looking to do anything with PHP and Twitter because it takes care of most of the work for you.
If you want to post a Tweet to Twitter, it’s as simple as the following lines of code:
include "twitter.php"; $t = new Twitter("username","password"); $t->updateStatus('This is a Tweet');
Now doesn’t that make life a lot easier?

