PHPackages                             jasonspace1220/kkorder - 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. jasonspace1220/kkorder

ActiveLibrary

jasonspace1220/kkorder
======================

01PHP

Since Apr 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jasonspace1220/kkorder)[ Packagist](https://packagist.org/packages/jasonspace1220/kkorder)[ RSS](/packages/jasonspace1220-kkorder/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

kk order
========

[](#kk-order)

這是一個可以自動計算飲料訂單的Lib
------------------

[](#這是一個可以自動計算飲料訂單的lib)

---

**預設飲料菜單**

 飲料菜單 M L 綠茶 $15 $20 烏龍 $25 $30 奶茶 $40 $50 水果茶 $50 $60**預設配料加購**

 配料 價錢 椰果 $5 珍珠 $5 仙草 $10 布丁 $10**預設訂單優惠****買 5 送 1,折抵最低價格那杯飲料**

---

**安裝方式**

```
composer require jasonspace1220/kkorder

```

---

**基礎使用教學**

```
require_once './vendor/autoload.php';

use lib\KkOrder\KkOrder;

$kk = new KkOrder();

$kk->run();

```

**執行範例**

```
input:
    綠茶,L
    烏龍,M,+椰果
    奶茶,L,+珍珠,+布丁
output:
    115

```

**後續有機會將更新能夠自訂菜單配料優惠方案的方式**

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16372286?v=4)[逍遥子](/maintainers/jasongod)[@JasonGod](https://github.com/JasonGod)

---

Top Contributors

[![jasonspace1220](https://avatars.githubusercontent.com/u/59045234?v=4)](https://github.com/jasonspace1220 "jasonspace1220 (9 commits)")

### Embed Badge

![Health badge](/badges/jasonspace1220-kkorder/health.svg)

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

PHPackages © 2026

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