Installation

Like all the kool kids, Twittee is of course available on Github.
You can also simply copy the PHP code above and save it in a twittee.php file somewhere on your disk.

Usage

Finding a simple example to demonstrate a Dependency Injection Container is not an easy task.
Instead of showing a classic "Hello World!" example, which would have been too simple to demonstrate the power of Twittee,
I have converted the example I used
to introduce the Symfony 2 Dependency Injection Container on my blog.

The following example shows how to create a Zend_Mail object that sends its emails using a Gmail account: