|Unique User Downloads
|2024-01-09 (1 month ago)
|All time: 6,739 This week: 168
This class can clean file name paths removing redundant elements.
It can take a string with a file or directory path and remove redundant path elements like /./ or // sequences or leading ../ elements from absolute paths.
Simply put, it's a tool to help clean up and collapse relative paths the same way real_path does it. Except that unlike real_path, relativePath does not look for the path on the filesystem.
|Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|Other classes that need this package
|Why it is needed
|PHP Zip Merge
|Clean and manage paths before adding them to the zip file
|Clean up dynamically builded paths before adding them to the zip file.