Search for a specific file name in a specific folder in laravel
everyone. So, what I basically want to do is to search for all files that start with "dm" or end with ".tmp" in storage_path("app/public/session"). I already tried File::allFiles() and File::files() but what I get is all files that are into…