Fix to support any 4.* branch of laravel