PHPackages                             jonmldr/path-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jonmldr/path-helper

ActiveLibrary

jonmldr/path-helper
===================

Helper for combining components of a relative path.

v1.1.0(5y ago)45.6k↓46.1%MITPHPPHP ^7.4|^8.0

Since Feb 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jonmldr/path-helper)[ Packagist](https://packagist.org/packages/jonmldr/path-helper)[ RSS](/packages/jonmldr-path-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

Path helper
===========

[](#path-helper)

[![GitHub Workflow Status (branch)](https://camo.githubusercontent.com/2542d8891556d6b63d453dbef7dd4caad18a79314e0cfbd3e03f2f37459548e7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a6f6e6d6c64722f706174682d68656c7065722f436f6d706f7365722532302b253230756e697425323074657374732f6d61737465723f6c6162656c3d7465737473266c6f676f3d5465737473)](https://camo.githubusercontent.com/2542d8891556d6b63d453dbef7dd4caad18a79314e0cfbd3e03f2f37459548e7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a6f6e6d6c64722f706174682d68656c7065722f436f6d706f7365722532302b253230756e697425323074657374732f6d61737465723f6c6162656c3d7465737473266c6f676f3d5465737473)[![Latest Version on Packagist](https://camo.githubusercontent.com/578a1d6453b3450b6f9dffd13036783b8c1f9efd61dcd4ac3cebd8c96301da58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f6e6d6c64722f706174682d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonmldr/path-helper)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/fea8fd828503422f7a7e6fef08534aad506dba9854f0774f4ea8ad6080652a20/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f6e6d6c64722f706174682d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonmldr/path-helper)[![PHP Version Support](https://camo.githubusercontent.com/aada0115ce984cfce80428f85cfabf3a0d383f6c5e0ddd50ba9011b0e0f55a2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6a6f6e6d6c64722f706174682d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jonmldr/path-helper)

Helper for combining components of a relative path.

[![Path helper](https://raw.githubusercontent.com/jonmldr/path-helper/master/.github/code.png)](https://raw.githubusercontent.com/jonmldr/path-helper/master/.github/code.png)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require jonmldr/path-helper

```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

4

Last Release

1902d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a1881518c029d85de251e03cf12ac5d662c0fc578e7112da95723cb3daaf075?d=identicon)[jonmldr](/maintainers/jonmldr)

---

Top Contributors

[![jonmldr](https://avatars.githubusercontent.com/u/33514542?v=4)](https://github.com/jonmldr "jonmldr (29 commits)")

---

Tags

directorypathphprelative

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/jonmldr-path-helper/health.svg)

```
[![Health](https://phpackages.com/badges/jonmldr-path-helper/health.svg)](https://phpackages.com/packages/jonmldr-path-helper)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
