Level 11
You could use the static exists method on the File facade.
return File::exists($filename);
hello everyone here, when i try to upload file in laravel 5.1 . i get one problem is filename is duplicate. how can i check does file i try to upload is already exist name ?
Please or to participate in this conversation.