title: Laravel File Upload and File_hash as name
body: <p>I am able to upload a file successfully using Laravel Storage and FileSystem classes.</p>
  
  <p>My problem is I want to identify the file uniquely via its content.</p>
  
  <p>I am thinking when I save the file on server I rename the uploaded file with hash of the content.</p>
  
  <p>Question is is there a way to get hash of the files content.
  Another complexity is it is a excel file.</p>
  
  <p>Note: I tried md5_file to use the file hash but for a xlsx file even if I save the file without making a sigle change the md5_file is not same.</p>
  
  <p>Thanks,
  K</p>