title: Save image to database
body: <p>I want to save image name to database but it always save to C:\xampp\tmp\phpAB3A.tmp. btw im not using xampp, im using laragon.How to change the path? i want to save to storage/app/public</p>
  
  <pre><code>        'name'=&gt; 'required',
          'email' =&gt; 'required',
          //'logo' =&gt; 'required',
  
  
          $imageName = time().'.'.request()-&gt;logo-&gt;getClientOriginalExtension();
          request()-&gt;logo-&gt;move(storage_path('app/public'), $imageName);
  
          Company::create($request-&gt;all());
          return redirect()-&gt;route('company.dashboard')-&gt;with('Success');
  </code></pre>