Get env values using App

use Illuminate\Support\Facades\App;

echo App::environment();