matthiasmullie/path-converter
Relative path converter
1.1.3
34M downloads/mo
#716 most downloaded on Packagist
matthiasmullie/path-converter
What this package is like to depend on
Last release 8 years ago
no release in 18 months
Ships fairly regularly
a new release about every 6 months
Most releases are documented
notes for 8 of 13 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
13 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
13 releases · Feb 2015 to Feb 2019Releases
latest 13-
1.1.305 Feb 2019Nothing published for this version
-
1.1.225 Oct 2018Release notes
Open source →This library was originally built mostly for web purposes,
where an absolute path would usually be the server's root
directory (e.g. /var/www).
There's some assumptions built in that have their basis
there, like how it'll append the paths to the current
working directory.
That makes it hard to use this library for cli based
transformations, though, where the root would usually be
'/' instead of cwd...
There's now an optional 3rd argument that can be passed to
the constructor to inform it the root is something else
(e.g. '/') -
1.1.102 Feb 2018 -
1.1.026 Jan 2017 -
1.0.827 Apr 2016Release notes
Open source →Dirname could return backslashes in the path (on Windows), which is
not desirable. -
1.0.707 Jan 2016Nothing published for this version
-
1.0.605 Jan 2016 -
1.0.501 Jun 2015Release notes
Open source →That assumption may be incorrect: files can have dots too.
But it was even more broken because it was checking the
entire path, increasing the odds of a dir incorrectly being
recognized as file.Fixes bug #1
-
1.0.413 May 2015 -
1.0.321 Feb 2015 -
1.0.220 Feb 2015Nothing published for this version
-
1.0.120 Feb 2015Nothing published for this version
-
1.0.020 Feb 2015Nothing published for this version