PHPackages                             everan/unlimitedclassified - 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. everan/unlimitedclassified

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

everan/unlimitedclassified
==========================

unlimited classified

v1.0.0(6y ago)26MITPHP

Since Apr 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Everan-1994/unlimited-classified)[ Packagist](https://packagist.org/packages/everan/unlimitedclassified)[ RSS](/packages/everan-unlimitedclassified/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0.0
- Laravel &gt;= 5.5.0
- Fileinfo PHP Extension

install
-------

[](#install)

```
composer require everan/unlimitedclassified

```

use
---

[](#use)

```
public function tree(UnlimitedClassified $unlimitedClassified)
{
    $response = $unlimitedClassified->getUnlimitedClassified($data, $parent_key, $child_key);
}

or

public function tree()
{
    $response = app('unlimited_classified')->getUnlimitedClassified($data, $parent_key, $child_key);
}

```

example
-------

[](#example)

```
$data = [
    ['id'=>1,'pid'=>0,'name'=>1],
    ['id'=>2,'pid'=>0,'name'=>2],
    ['id'=>3,'pid'=>1,'name'=>3],
    ['id'=>4,'pid'=>2,'name'=>4],
    ['id'=>5,'pid'=>3,'name'=>5],
    ['id'=>6,'pid'=>4,'name'=>6],
    ['id'=>7,'pid'=>5,'name'=>7],
    ['id'=>8,'pid'=>6,'name'=>8],
];

$tree = app('unlimited_classified')->getUnlimitedClassified（$data, 'pid','child');
print_r($tree);

Array
(
    [0] => Array
        (
            [id] => 1
            [pid] => 0
            [name] => 1
            [child] => Array
                (
                    [0] => Array
                        (
                            [id] => 3
                            [pid] => 1
                            [name] => 3
                            [child] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 5
                                            [pid] => 3
                                            [name] => 5
                                            [child] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [id] => 7
                                                            [pid] => 5
                                                            [name] => 7
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

    [1] => Array
        (
            [id] => 2
            [pid] => 0
            [name] => 2
            [child] => Array
                (
                    [0] => Array
                        (
                            [id] => 4
                            [pid] => 2
                            [name] => 4
                            [child] => Array
                                (
                                    [0] => Array
                                        (
                                            [id] => 6
                                            [pid] => 4
                                            [name] => 6
                                            [child] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [id] => 8
                                                            [pid] => 6
                                                            [name] => 8
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

)

```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2222d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33532865?v=4)[Everan](/maintainers/Everan-1994)[@Everan-1994](https://github.com/Everan-1994)

---

Top Contributors

[![Everan-1994](https://avatars.githubusercontent.com/u/33532865?v=4)](https://github.com/Everan-1994 "Everan-1994 (1 commits)")

---

Tags

laravellaravel-unlimited-classified

### Embed Badge

![Health badge](/badges/everan-unlimitedclassified/health.svg)

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

###  Alternatives

[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3074.6k1](/packages/mediawiki-semantic-extra-special-properties)[shaozeming/aliyun-sts

基于阿里云openapi系列接口中STS最新版本的SDK进行封装的composer package

2021.0k1](/packages/shaozeming-aliyun-sts)

PHPackages © 2026

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