PHPackages                             coffeesouffle/invoice - 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. coffeesouffle/invoice

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

coffeesouffle/invoice
=====================

08PHP

Since Oct 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/coffeeSouffle/invoice)[ Packagist](https://packagist.org/packages/coffeesouffle/invoice)[ RSS](/packages/coffeesouffle-invoice/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

invoice
=======

[](#invoice)

- 發票兌獎小程式

Example
-------

[](#example)

```
use Invoice\PrizeNo;

$invoiceNumber = array(
    'code' => 200,
    'invoYm' => '10608',
    'superPrizeNo' => '33612092',
    'spcPrizeNo' => '06840705',
    'firstPrizeNo1' => '12182003',
    'firstPrizeNo2' => '48794532',
    'firstPrizeNo3' => '77127885',
    'firstPrizeNo4' => '',
    'sixthPrizeNo1' => '136',
    'sixthPrizeNo2' => '873',
    'sixthPrizeNo3' => '474',
    'superPrizeAmt' => '10000000',
    'spcPrizeAmt' => '02000000',
    'firstPrizeAmt' => '00200000',
    'secondPrizeAmt' => '00040000',
    'thirdPrizeAmt' => '00010000',
    'fourthPrizeAmt' => '00004000',
    'fifthPrizeAmt' => '00001000',
    'sixthPrizeAmt' => '00000200',
);

$prizeNo = new PrizeNo($invoiceNumber);

$prizeAmount = $prizeNo->getWinningPrizeAmount('33612093');
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13359386?v=4)[coffeeSouffle](/maintainers/coffeeSouffle)[@coffeeSouffle](https://github.com/coffeeSouffle)

---

Top Contributors

[![l1071139421](https://avatars.githubusercontent.com/u/8513009?v=4)](https://github.com/l1071139421 "l1071139421 (4 commits)")[![coffeeSouffle](https://avatars.githubusercontent.com/u/13359386?v=4)](https://github.com/coffeeSouffle "coffeeSouffle (1 commits)")

### Embed Badge

![Health badge](/badges/coffeesouffle-invoice/health.svg)

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

###  Alternatives

[camspiers/statistical-classifier

A PHP implementation of Complement Naive Bayes and SVM statistical classifiers, including a structure for building other classifier, multiple data sources and multiple caching backends

17237.0k1](/packages/camspiers-statistical-classifier)[humanmade/page-for-post-type

Allows you to set pages for any custom post type archive

18810.2k](/packages/humanmade-page-for-post-type)

PHPackages © 2026

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