Laravel 5 workaround