Prepare upgrade to Laravel 5.