Laravel 5 environment config arrays?
<p>In Laravel 4, you could set an environment based config folder structure:</p>

<pre><code>/config/app.php
/config/dev/app.php
/config/staging/app.php
/config/testing/app.php
</code></pre>

<p>Can you do this with Laravel 5? I understand the <code>.env</code> concept and I'm using that to define which environment I'm in. But I need to define a config value that is an array of arbitrary length, and you can't do that with <code>.env</code> files.</p>

<p>An example of what I'm trying to achieve:</p>

<pre><code>if (in_array($request-&gt;input('value'), config('app.valid_values')) {
  // do something
}
</code></pre>

<p>This <code>valid_values</code> is simply an array of values. It's of arbitrary length, so you can't just set them in your <code>.env</code> file like:</p>

<pre><code>VALID_VALUE1=...
VALID_VALUE2=...
etc.
</code></pre>

<p>AND the array needs to be different for each environment.</p>

<p>This was easy to do in Laravel 4 with environment configuration folders. But how do you do this with Laravel 5?</p>