title: Getting File Name without Extension
body: <p>Here is my the syntax to get the Uploaded Filename with extension and Getting only the Extension</p>
  
  <pre><code>$name = Input::file('photo')-&gt;getClientOriginalName();
  $extension = Input::file('photo')-&gt;getClientOriginalExtension();
  </code></pre>
  
  <p>Here if i upload a file named <code>file.jpg</code>.Then i will get </p>
  
  <pre><code>$name = file.jpg
  $extension = jpg
  </code></pre>
  
  <p>Is there any predefined way to get only the file name i.e., <code>file</code> without using any string replace.
  If not kindly suggest a way to achieve in it str replace or any other way.</p>