PHPackages                             litlife/id-dirname - 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. litlife/id-dirname

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

litlife/id-dirname
==================

Id to Dirname package

0.0.1(4y ago)055PHPPHP ^7.3|^8.0

Since Feb 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/litlife/id-dirname)[ Packagist](https://packagist.org/packages/litlife/id-dirname)[ RSS](/packages/litlife-id-dirname/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

litlife/id-dirname
==================

[](#litlifeid-dirname)

This package is for create a folder path by ID

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install.

```
composer require litlife/id-dirname
```

Usage
-----

[](#usage)

### Generate a payment URL

[](#generate-a-payment-url)

In this example, you can see how to generate a link that the user can click to make a payment

```
use Litlife\IdDirname\IdDirname;

$id = 12345678;

$class = new IdDirname($id);
print_r($class->splitToArray());
```

Output:

`[12, 345, 678]`

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

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

1548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6352d87faeaa45b2da5e0872605cfd08d9a25851f0a54424399c58b8a4f1a14b?d=identicon)[litlife](/maintainers/litlife)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/litlife-id-dirname/health.svg)

```
[![Health](https://phpackages.com/badges/litlife-id-dirname/health.svg)](https://phpackages.com/packages/litlife-id-dirname)
```

###  Alternatives

[apen/additional_reports

Useful information in the reports module : xclass, ajax, cliKeys, eID, general status of the system (encoding, DB, php vars...), hooks, compare local and TER extension (diff), used content type, used plugins, ExtDirect... It can really help you during migration or new existing project (to have a global reports of the system).

14157.8k](/packages/apen-additional-reports)

PHPackages © 2026

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