add laravel 4.2 compat