NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1289 most downloaded on Packagist
A robust cross-platform utility for normalizing, comparing and modifying file paths.
Latest stable
2.3.0
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
Drag across the ruler to compare, or tap a release to open it.
added Url::makeRelative() for calculating relative paths between URLs
Url::makeRelative() for calculating relative paths between URLsPath::makeRelative() to trim leading dots when moving outside of
the base pathfixed Path::makeRelative() to produce .. when called with the parent directory of a path
Path::makeRelative() to produce .. when called with the parent
directory of a pathPath::makeAbsolute() does not fail anymore if an absolute path is passed with a different root (partition) than the base path
Path::makeAbsolute() does not fail anymore if an absolute path is passed
with a different root (partition) than the base pathYour coding agent can read these notes before it upgrades. Set up the MCP server →
fixed minimum versions in composer.json
added Path::normalize()
Path::normalize()Path::canonicalize() now turns ~ into the user's home directory on Unix and Windows 8 or later.
Path::canonicalize() now turns ~ into the user's home directory on
Unix and Windows 8 or later.added support for streams, e.g. "phar://C:/path/to/file"
Path::join()Path methods now throw exceptions if parameters with invalid types are
passedPath::canonicalize() in order to increase the
performance of the Path classadded Path::getFilenameWithoutExtension()
Path::getFilename()Path::getFilenameWithoutExtension()Path::getExtension()Path::hasExtension()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")Path::makeAbsolute() fails now if the base path is not absolute
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 emptyFixed bug in Path::makeRelative() when first argument is shorter than second
Path::makeRelative() when first argument is shorter than secondNothing published for this version
One column per quarter.