I understand with Laravel 5, it uses .env files so we can set specific enivornment values. 

My question is, is there a way in Laravel 5, to say for example,

```
if ($SERVER_NAME == "my_production_server") {
    $environment = "production"
}

```

And from that it uses production values. My thinking is, I'd like all the environments and their variables placed in one file or directory, or whatever so we can deploy the whole build without any manual intervention, and we can check this all into our code repository.