PHPackages                             hail/path - 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. [Framework](/categories/framework)
4. /
5. hail/path

ActiveLibrary[Framework](/categories/framework)

hail/path
=========

Path utils

v0.8.4(6y ago)04MITPHPPHP &gt;=7.1.3

Since Jul 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hail-framework/path)[ Packagist](https://packagist.org/packages/hail/path)[ Docs](http://framework.flyinghail.com/)[ RSS](/packages/hail-path/feed)WikiDiscussions master Synced today

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Path
====

[](#path)

Example
=======

[](#example)

```
use Hail\Path\{Path, BasePath};

$paths = new Path([
    'root' => __DIR__,
    'storage' => __DIR__ .  '/storage',
]);

$paths->root instanceof BasePath; // true
$paths->root->base() === $paths->root(); // true
$paths->root->absolute('a', 'b') === $paths->root('a', 'b'); // true

$paths->storage instanceof BasePath; // true
$paths->storage->base() === $paths->root('storage'); // true
$paths->root->relative($paths->storage()) === 'storage'; // true
```

###  Health Score

21

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~14 days

Total

5

Last Release

2371d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee8f80cbfd72e89a2441efe13cab03d707aa1436af2f954192e90e2481ec7508?d=identicon)[flyinghail](/maintainers/flyinghail)

---

Top Contributors

[![flyinghail](https://avatars.githubusercontent.com/u/157430?v=4)](https://github.com/flyinghail "flyinghail (13 commits)")

---

Tags

frameworkpathHail

### Embed Badge

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

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

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247582.7k1](/packages/hemp-presenter)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67723.5k15](/packages/pestphp-pest-plugin-stressless)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.0k4](/packages/wpstarter-framework)

PHPackages © 2026

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