grandt/relativepath

A class for cleaning up/collapsing relative paths. Like real_path, but without the need for the path to exist on the filesystem.

Maintainers

👁 Grandt

Package info

github.com/Grandt/PHPRelativePath

pkg:composer/grandt/relativepath

Statistics

Installs: 915 026

Dependents: 10

Suggesters: 0

Stars: 11

Open Issues: 4

1.0.2 2015-05-14 08:18 UTC

Requires

  • php: >=5.0

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

LGPL-2.1 19541133c24143b6295688472c54dd6ed15a5462

  • A. Grandt <php.woop@grandt.com>

file path

This package is not auto-updated.

Last update: 2026-06-21 01:49:46 UTC


README

Simply put, it's a tool to help clean up and collapse relative paths the same way real_path does it. Except that unlike real_path, relativePath does not look for the path on the filesystem.