Laravel 5 compatability