laravel 5 compatibility