I am allowing users to upload any kind of file on my page, but there might be a clash in names of files. So, I want to rename the file automatically, so that anytime any fil
correct usage.
$fileName = Input::get('rename_to'); Input::file('photo')->move($destinationPath, $fileName);