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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jncinet/laravel-red-packet-compute

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

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 3w 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 35% 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

2263d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28687569?v=4)[QihuCMS](/maintainers/jncinet)[@jncinet](https://github.com/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)
```

###  Alternatives

[sheikhheera/iconfig

A very simple, smart, light-weight and dynamic configuration manager for PHP.

1540.9k](/packages/sheikhheera-iconfig)

PHPackages © 2026

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