PHPackages                             siestacat/php-hash-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. siestacat/php-hash-path

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

siestacat/php-hash-path
=======================

Generate relative path from a hash

1.0.0(2y ago)01441Apache-2.0PHPPHP &gt;=8.0

Since Nov 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/SiestaCat/php-hash-path)[ Packagist](https://packagist.org/packages/siestacat/php-hash-path)[ RSS](/packages/siestacat-php-hash-path/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

phpfilemanager
==============

[](#phpfilemanager)

Install:

```
composer require siestacat/php-hash-path

```

Usage:

```
use Siestacat\PhpHashPath\GenHashPath;

$hash = '6520c076303312b8ccfd231632a1f752';

$instance = new GenHashPath(2, 2);
echo $instance->getPathFileSystem($hash); //Output: 65/20/6520c076303312b8ccfd231632a1f752
echo $instance->getPathFileSystem($hash, false); //Output: 65/20

$instance = new GenHashPath(4, 3);
echo $instance->getPathFileSystem($hash); //Output: 6520/c076/3033/6520c076303312b8ccfd231632a1f752
echo $instance->getPathFileSystem($hash, false); //Output: 6520/c076/3033

```

Tests:

```
git clone https://github.com/SiestaCat/php-hash-path.git
cd php-hash-path
composer install
composer run-script test

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

918d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/siestacat-php-hash-path/health.svg)

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

###  Alternatives

[phpcr/phpcr-migrations

Migrations for PHPCR

421.4M2](/packages/phpcr-phpcr-migrations)

PHPackages © 2026

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