PHPackages                             xieyuhua/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. [Database &amp; ORM](/categories/database)
4. /
5. xieyuhua/helper

ActiveLibrary[Database &amp; ORM](/categories/database)

xieyuhua/helper
===============

helper for PHP

v1.0.1(10mo ago)00[1 issues](https://github.com/xieyuhua/helper/issues)Apache-2.0PHPPHP &gt;=7.2

Since Jul 7Pushed 7mo agoCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

```
//$name:  加载文件的命名空间

//tsx 注册自动加载函数
spl_autoload_register(function ($name){
    $name = str_replace('\\',DIRECTORY_SEPARATOR, $name);
    $namespace = explode('/', $name);
    switch ($namespace[0]) {
        case 'think':
           $name = 'Xphp'.DIRECTORY_SEPARATOR.'Kcloze'.DIRECTORY_SEPARATOR.$name;
            break;
        case 'Kcloze':
           $name = 'Xphp'.DIRECTORY_SEPARATOR.$name;
            break;
        default:
            $name = $name;
            break;
    }

    //$name = str_replace('\\',DIRECTORY_SEPARATOR, $name);
    //判断命名空间的所需要加载的类

    $file = SWOOLE_XYH_PATH.DIRECTORY_SEPARATOR.$name.'.php';
    if(is_file($file)){
        @include_once $file;
    }else{
       // echo '--',$file.PHP_EOL;
    }
});

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance58

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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

Total

2

Last Release

309d ago

### Community

Maintainers

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

---

Top Contributors

[![xieyuhua](https://avatars.githubusercontent.com/u/29120060?v=4)](https://github.com/xieyuhua "xieyuhua (10 commits)")

---

Tags

ormfunction

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[doctrine/doctrine-bundle

Symfony DoctrineBundle

4.8k241.3M3.3k](/packages/doctrine-doctrine-bundle)[doctrine/persistence

The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.

4.1k286.5M762](/packages/doctrine-persistence)[gedmo/doctrine-extensions

Doctrine behavioral extensions

4.1k118.8M366](/packages/gedmo-doctrine-extensions)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[beberlei/doctrineextensions

A set of extensions to Doctrine 2 that add support for additional query functions available in MySQL, Oracle, PostgreSQL and SQLite.

2.1k75.1M146](/packages/beberlei-doctrineextensions)

PHPackages © 2026

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