Customized for laravel4 and our app