lundi 6 avril 2020

List Directories in Laravel

I'm trying to list all directories in this path public_path().'/assets/fe/img/portfolio'

enter image description here

dd(Storage::directories(public_path().'/assets/fe/img/portfolio'));

I kept getting [], I suppose to get 5.

Why ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire