tavp/tavphive 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固