rename a directory or a file
Laravel Docs
The move method may be used to rename or move an existing file to a new location:
Storage::move('hodor/file1.jpg', 'holdthedoor/file2.jpg');
this way, you can rename without moving
Storage::move('hodor/oldfile-name.jpg', 'hodor/newfile-name.jpg'); // keep the same folder to just rename
Source
You can rename directories using
Storage::rename('oldFolder/', 'newFolder/');