PHPackages                             a406299736/t4rcs - 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. a406299736/t4rcs

ActiveLibrary

a406299736/t4rcs
================

风控嵌入

1.0.8(3y ago)132PHPPHP &gt;=7.4

Since Apr 11Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (10)Used By (0)

t4rcs
=====

[](#t4rcs)

风险控制嵌入类

使用composer管理 安装方式：

```
composer require a406299736/t4rcs
```

1. 如何调用限流

```
使用use引入T4RCSRouteLimiter并实现相关抽象方法后，调用allowed()方法即可, 返回true时即为通过;false时为被限流;

```

2. 如何调用账户风险等级

```
使用use引入T4rcsRiskLevel并实现相关抽象方法
risk方法需要appName参数，必填项，并返回风险对象(RiskLevelData)或null值，是否存在风险为该对象的isRisk方法或业务自定是否存在风险(各个维度风险等级为该对象属性值)
三个维度分别：用户，网络和设备，分别调用相关with方法，不能同时为空或不传。

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~2 days

Total

9

Last Release

1109d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b4016d5b676e9c2f574e460e7a80d6e21d1e01dbf2f8425d5bfe9d1ee086e79?d=identicon)[a406299736](/maintainers/a406299736)

---

Top Contributors

[![a406299736](https://avatars.githubusercontent.com/u/14088348?v=4)](https://github.com/a406299736 "a406299736 (1 commits)")

### Embed Badge

![Health badge](/badges/a406299736-t4rcs/health.svg)

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

PHPackages © 2026

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