I would like to 'rename' a directory with Laravel. Since there is no rename method, I use the moveDirectory method in the Storage class.
There are two issues when I use this method:
So for example
-- dir1 - file Storage::moveDirectory('dir1', 'dir2') Results in: -- dir1 - file -- dir2
What could be the issue here ?