Data Mining using the Twitter Streaming API


I would like to set up a script that will request tweets matching a specific set of criteria relating to keywords from the Global feed of tweets. I understand that in order to do this the Streaming API can be used. Is it possible to write a php script that will be able to make a call to this API and populate a mySQL database with the tweets it receives from the Streaming API??

The purpose of this is to build a large repository of tweets that could be used for data visualization purposes. I’d appreciate any help on the subject. I’m new to the Twitter API and have not got a lot of programming experience, although I am willing to learn.