added remaining laravel4 syntax