title: Can't change configuration value at runtime, change doesn't save. Laravel 8
body: <p>SettingController:</p>
  <pre><code>public function index()
  {
      return view('backend.settings.index');
  }
  
  public function update(Request $request)
  {
      $settings = $request-&gt;input('name');
      config(['settings.site_name' =&gt; $settings]);
  
      return redirect()-&gt;route('settings');
  }
  </code></pre>
  <p>view:</p>
  <pre><code>&lt;form action=&quot;{{ route('settings.update') }}&quot; method=&quot;POST&quot;&gt;
  @csrf
      &lt;div class=&quot;form-group&quot;&gt;
          &lt;label for=&quot;name&quot;&gt;Site name&lt;/label&gt;
          &lt;input type=&quot;text&quot; name=&quot;name&quot; value=&quot;{{ config('settings.site_name') }}&quot; id=&quot;name&quot; required&gt;
      &lt;/div&gt;
      &lt;div class=&quot;form-group&quot;&gt;
          &lt;input type=&quot;submit&quot; class=&quot;paper-btn btn-secondary&quot; value=&quot;Update&quot;&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  <p>Variable $settings gets the correct data from input, I checked that with <code>dd()</code>, but change doesn't save after redirect. What did I do wrong?</p>