RelPath
Compute a relative filepath between two paths
|
RelPath is a small PHP library for computing a relative filepath to some path, either from the current directory or from an optional start directory.
Here is how you use it:
The RelPath::joinPath()
function provided here is analogous to os.path.join()
in Python, and path.join()
found in Node.js.
MIT