Support laravel 4.1 and up