for newer versions of laravel