RelPath

RelPath is a PHP library to compute the relative file path between two paths.

The  function is analogous to   found in Python, or   in Node.js.