compatible with all versions of laravel