title: Laravel get array of filenames from folder
body: <p>I am getting an array of filenames from a folder like this...</p>
  
  <pre><code>$files = File::allFiles('myfolder/');
  </code></pre>
  
  <p>But the resulting array contains pathname as well.</p>
  
  <p>Is there a way of just getting an array of filenames?  Or do I need to process each array item and extract the filename from it?</p>