if (! File::exists(public_path()."uploads/properties")) { File::makeDirectory(public_path()."uploads/properties"); } code example
Example: if (! File::exists(public_path()."uploads/properties")) { File::makeDirectory(public_path()."uploads/properties"); }
//create dynamic path
if (! File::exists(public_path()."uploads/properties")) {
File::makeDirectory(public_path()."uploads/properties");
}