'environment' => env('SENTRY_ENVIRONMENT'), laravel code example Example: laravel use config use Illuminate\Support\Facades\Config;