Buat folder jalur gambar otomatis di Laravel 8

if (! File::exists("uploads/properties")) {
    File::makeDirectory("uploads/properties");
}
if (! File::exists(public_path()."uploads/properties")) {
    File::makeDirectory(public_path()."uploads/properties");
}
Tyagi420