PHPackages                             atellitech/utils-hyperf - 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. atellitech/utils-hyperf

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

atellitech/utils-hyperf
=======================

The utilities for Hyperf framework.

1.2.0(4mo ago)0103MITPHPPHP &gt;=8.3

Since Oct 8Pushed 1mo agoCompare

[ Source](https://github.com/AtelliTech/utils-hyperf)[ Packagist](https://packagist.org/packages/atellitech/utils-hyperf)[ RSS](/packages/atellitech-utils-hyperf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (29)Used By (0)

component-creator
=================

[](#component-creator)

```
composer create-project hyperf/component-creator

```

utils-hyperf
============

[](#utils-hyperf)

The utilities for Hyperf

Getting Start
-------------

[](#getting-start)

### Requirements

[](#requirements)

- php8.3+

### Install

[](#install)

```
$ /lib/path/composer require atellitech/utils-hyperf

```

### Setup database connection

[](#setup-database-connection)

---

Model Generator
---------------

[](#model-generator)

This generator is used to create model class by particular table name.

### Usage

[](#usage)

```
$ php bin/hyperf.php at:gen:model [--disable-event-dispatcher] [--]  [ [ []]]

```

### Options

[](#options)

- table Table name
- connection Database component id
- path Store path of model class file
- namespace Namespace of model class

---

Repository, ValueObject and Validator Generator
-----------------------------------------------

[](#repository-valueobject-and-validator-generator)

Gernerate repository, value object, validator by table and outfile file into specific domain.

### Usage

[](#usage-1)

```
$ php bin/hyperf.php at:gen:[repo|vo|validator] [--disable-event-dispatcher] [--]  [ []]

```

### Options

[](#options-1)

- table Table name
- domain DDD Domain name

---

API Spec Page Generator
-----------------------

[](#api-spec-page-generator)

Generate API documentation page by namespace and path

### Usage

[](#usage-2)

```
$ php bin/hyperf.php at:gen:apidoc [options] [--] [ []]

```

### Options

[](#options-2)

- namespace Name of class namespace
- path Path of generated file

---

Generate dependency files
-------------------------

[](#generate-dependency-files)

Generate dependency file for Repository, Service class by scaning specific path which the default is "{root path}/app". The generated file named "autoload\_denpendencies.php" which locating at "config/autoload/"

### Usage

[](#usage-3)

#### Step1 Add require file script into "config/autoload/dependencies.php"

[](#step1-add-require-file-script-into-configautoloaddependenciesphp)

```
$src = __DIR__ . '/autoload_dependencies.php';
$autoDependencies = [];
if (file_exists($src)) {
    $autoDependencies = require $src;
}

return array_merge((array) $autoDependencies, [
    // other manual dependencies
]);
```

#### Step2 Execute the command belows

[](#step2-execute-the-command-belows)

```
$ php bin/hyperf.php at:gen:di [options] [--] []

```

##### Options

[](#options-3)

- path Path of generated file

#### Step3 Setup script into "composer.json"

[](#step3-setup-script-into-composerjson)

```
{
    // other configuration

    "scripts": {
        // ... other script command
        "di": "php bin/hyperf.php at:gen:di"
    }
}

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance84

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% 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 ~3 days

Recently: every ~17 days

Total

28

Last Release

136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/602dbe208e45032cfb33ad6511992f90d010abaa6fe01ee9d69b0e73f62bc27f?d=identicon)[atellitech](/maintainers/atellitech)

---

Top Contributors

[![iamgold](https://avatars.githubusercontent.com/u/19813333?v=4)](https://github.com/iamgold "iamgold (61 commits)")[![aaronlow1220](https://avatars.githubusercontent.com/u/117196390?v=4)](https://github.com/aaronlow1220 "aaronlow1220 (1 commits)")

---

Tags

phputilitieshyperf

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/atellitech-utils-hyperf/health.svg)

```
[![Health](https://phpackages.com/badges/atellitech-utils-hyperf/health.svg)](https://phpackages.com/packages/atellitech-utils-hyperf)
```

###  Alternatives

[xmo/mine-core

mineadmin core package

1684.2k1](/packages/xmo-mine-core)

PHPackages © 2026

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