PHPackages                             wilbur-yu/hyperf-translatable - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. wilbur-yu/hyperf-translatable

Abandoned → [wenber-yu/hyperf-translatable](/?search=wenber-yu%2Fhyperf-translatable)Library[Localization &amp; i18n](/categories/localization)

wilbur-yu/hyperf-translatable
=============================

A trait to make an model hold translations

3.1.0(2y ago)01.3kMITPHPPHP &gt;=8.0

Since Dec 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/wenber-yu/hyperf-translatable)[ Packagist](https://packagist.org/packages/wilbur-yu/hyperf-translatable)[ RSS](/packages/wilbur-yu-hyperf-translatable/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (12)Versions (4)Used By (0)

说明
==

[](#说明)

项目自用.

本组件移植于 [spatie/laravel-translatable](https://github.com/spatie/laravel-translatable)使用方式相同. 只是适配了hyperf model 具体使用可以查看[README.md](https://github.com/spatie/laravel-translatable/blob/master/README.md)

> 该包适用于简单的模型多语言. 若是内容繁多且复杂的系统可以使用 [hyperf-ext/translatable](https://github.com/hyperf-ext/translatable)

安装
==

[](#安装)

```
composer require wenber-yu/hyperf-translatable
```

发布配置文件
======

[](#发布配置文件)

```
php ./bin/hyperf vendor:publish wenber-yu/hyperf-translatable
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance60

Regular maintenance activity

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52% 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 ~377 days

Total

3

Last Release

949d ago

Major Versions

v1.0 → 3.0.02023-01-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7148309?v=4)[wenber-yu](/maintainers/wenber-yu)[@wenber-yu](https://github.com/wenber-yu)

---

Top Contributors

[![wenber-yu](https://avatars.githubusercontent.com/u/7148309?v=4)](https://github.com/wenber-yu "wenber-yu (13 commits)")[![wilbur-yu](https://avatars.githubusercontent.com/u/7148309?v=4)](https://github.com/wilbur-yu "wilbur-yu (12 commits)")

---

Tags

phphyperfhyperf translatable

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wilbur-yu-hyperf-translatable/health.svg)

```
[![Health](https://phpackages.com/badges/wilbur-yu-hyperf-translatable/health.svg)](https://phpackages.com/packages/wilbur-yu-hyperf-translatable)
```

###  Alternatives

[mineadmin/mineadmin

Quickly build a background management system for web applications

1.2k2.3k](/packages/mineadmin-mineadmin)[hyperf/watcher

Hot reload watcher for Hyperf

19924.3k34](/packages/hyperf-watcher)[hyperf/odin

486.8k](/packages/hyperf-odin)

PHPackages © 2026

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