support for laravel 4.x