tavp/tavphive
Composer 安装命令:
composer require tavp/tavphive
包简介
TAVPhive — billing & subscription SaaS for TAVP (Spark equivalent).
README 文档
README
Module billing SaaS untuk TAVP. Buat yang mau bikin produk berlangganan.
Features
- Subscriptions — Plans, trials, cancellation, upgrades
- Invoicing — Auto-generated invoices, PDF export
- Plan management — Free, pro, enterprise tiers
- Webhook handling — Payment event processing
- Revenue split — 80% developer, 20% platform
Payment gateways
| Gateway | Region | Status |
|---|---|---|
| Stripe | International | Supported |
| PayPal | International | Supported |
| Midtrans | Indonesia | Supported |
| Xendit | Indonesia | Supported |
| mayar.id | Indonesia | Supported |
| Duitku | Indonesia | Supported |
| Flip Business | Indonesia | Supported |
| iPaymu | Indonesia | Supported |
Requirements
- PHP 8.3+
- Phalcon 5.16+
- tavp-core
Install
# Via tavp CLI tavp module:install tavp/tavphive # Via Composer composer require tavp/tavphive
Quick start
use Tavp\Hive\Subscription; // Create a subscription $subscription = Subscription::create([ 'user_id' => $userId, 'plan' => 'pro', 'gateway' => 'stripe', ]); // Check if active if ($subscription->isActive()) { // User has access }
Database tables
| Table | Description |
|---|---|
subscriptions |
Active subscriptions |
invoices |
Invoice history |
plans |
Available plans |
payments |
Payment transactions |
Testing
composer test
Status
Part of 0.1.0 Genesis (ZeroVer 0.MINOR.PATCH). Basic subscriptions.
Full features (invoicing, webhooks, multi-gateway) in 0.6.0.
License
MIT
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-09