title: laravel how to save files with predefined name
body: <p>in laravel controller i am trying to give each video file i uploading should be rename as</p>
  <pre><code>**myfile.mp4**
  </code></pre>
  <p>and save in public folder.</p>
  <p>but my present code makes random number for my files but i need to give name as <strong>myfile</strong></p>
  <p>my controller</p>
  <pre><code>$input['file_id'] = time() . '.' . $request-&gt;file_id-&gt;getClientOriginalExtension();
          $folder1 = public_path('/public');
          $path1 = $folder1 . $input['file_id']; // path 1
          $request-&gt;file_id-&gt;move($folder1, $input['file_id']);
  </code></pre>