From the tutorial on net.tutsplus.com. 
I have updated the tutorial to Laravel 4