Describe the bug
Laravel didn't introduce Illuminate\Support\Env until v6. Currently, if your package is installed in a Laravel 5.8 LTS application, it doesn't work.
To Reproduce
Steps to reproduce the behavior:
Create a Laravel 5.x application.
Install this package at the latest version acceptable (currently 1.6).
Try to use Artisan or view any pages.
Expected behavior
There should be no errors.
More info:
Version of Laravel: any 5.x release
Version of the Laravel-localization package v1.6
Which middleware is used in Route::groups: N/A, happens before even hitting middleware.
Copy of the config file ( or at least setting of supportedLocales, useAcceptLanguageHeader and hideDefaultLocaleInURL): N/A, happens before config.
Describe the bug Laravel didn't introduce
Illuminate\Support\Env
until v6. Currently, if your package is installed in a Laravel 5.8 LTS application, it doesn't work.To Reproduce Steps to reproduce the behavior:
Expected behavior There should be no errors.
More info:
Route::groups
: N/A, happens before even hitting middleware.supportedLocales
,useAcceptLanguageHeader
andhideDefaultLocaleInURL
): N/A, happens before config.