PHPackages                             jncinet/laravel-red-packet-compute - 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. jncinet/laravel-red-packet-compute

ActiveLibrary

jncinet/laravel-red-packet-compute
==================================

Random red packet amount.

1.0.3(6y ago)0271MITPHP

Since Apr 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jncinet/laravel-red-packet-compute)[ Packagist](https://packagist.org/packages/jncinet/laravel-red-packet-compute)[ RSS](/packages/jncinet-laravel-red-packet-compute/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (1)

laravel-red-packet-compute
==========================

[](#laravel-red-packet-compute)

安装： `composer require jncinet/laravel-red-packet-compute`

```
 * 计算红包金额
 *
 * @param int|float $money 红包金额
 * @param int $amount 红包数量
 * @param int $n 红包平均金额的倍数
 * @param int|float $min 最小金额
 * @return array

```

redPacketAmount();

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

2213d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63541651e21494722aa0d364dca6dbaa132d0ee4e9f85a741b5eff8c587f57ba?d=identicon)[jncinet](/maintainers/jncinet)

### Embed Badge

![Health badge](/badges/jncinet-laravel-red-packet-compute/health.svg)

```
[![Health](https://phpackages.com/badges/jncinet-laravel-red-packet-compute/health.svg)](https://phpackages.com/packages/jncinet-laravel-red-packet-compute)
```

PHPackages © 2026

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