webmozart/path-util
Abandoned; use symfony/filesystem. A robust cross-platform utility for normalizing, comparing and modifying file paths.
2.3.0
91M downloads/mo
#1037 most downloaded on Packagist
webmozart/path-util
What this package is like to depend on
Last release 11 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 10 of 11 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
11 releases · first in 2014
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Nov 2014 to Dec 2015
2015
2017
2019
2021
2023
2025
Releases
latest 11-
2.3.017 Dec 2015Release notes
Open source →- added
Url::makeRelative()for calculating relative paths between URLs - fixed
Path::makeRelative()to trim leading dots when moving outside of
the base path
- added
-
2.2.305 Oct 2015Release notes
Open source →- fixed
Path::makeRelative()to produce..when called with the parent
directory of a path
- fixed
-
2.2.224 Aug 2015Release notes
Open source →Path::makeAbsolute()does not fail anymore if an absolute path is passed
with a different root (partition) than the base path
-
2.2.124 Aug 2015 -
2.2.014 Aug 2015 -
2.1.014 Jul 2015Release notes
Open source →Path::canonicalize()now turns~into the user's home directory on
Unix and Windows 8 or later.
-
2.0.021 May 2015Release notes
Open source →- added support for streams, e.g. "phar://C:/path/to/file"
- added
Path::join() - all
Pathmethods now throw exceptions if parameters with invalid types are
passed - added an internal buffer to
Path::canonicalize()in order to increase the
performance of thePathclass
-
1.1.019 Mar 2015Release notes
Open source →- added
Path::getFilename() - added
Path::getFilenameWithoutExtension() - added
Path::getExtension() - added
Path::hasExtension() - added
Path::changeExtension() Path::makeRelative()now works when the absolute path and the base path
have equal directory names beneath different base directories
(e.g. "/webmozart/css/style.css" relative to "/puli/css")
- added
-
1.0.212 Jan 2015Release notes
Open source →Path::makeAbsolute()fails now if the base path is not absolutePath::makeRelative()now works when a relative path is passed and the base
path is empty
-
1.0.103 Dec 2014Release notes
Open source →- Added PHP 5.6 to Travis.
- Fixed bug in
Path::makeRelative()when first argument is shorter than second - Made HHVM compatibility mandatory in .travis.yml
- Added PHP 5.3.3 to travis.yml
-
1.0.026 Nov 2014Nothing published for this version