PHPackages                             tavp/tavphive - 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. [Payment Processing](/categories/payments)
4. /
5. tavp/tavphive

ActiveTavpkit-module[Payment Processing](/categories/payments)

tavp/tavphive
=============

TAVPhive â€” billing &amp; subscription SaaS for TAVP (Spark equivalent).

v1.1.0(1mo ago)06MITPHPPHP &gt;=8.1

Since Jul 9Pushed 1mo agoCompare

[ Source](https://github.com/tavp-stack/tavphive)[ Packagist](https://packagist.org/packages/tavp/tavphive)[ RSS](/packages/tavp-tavphive/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

tavphive
========

[](#tavphive)

Module **billing SaaS** untuk TAVP. Buat yang mau bikin produk berlangganan.

Features
--------

[](#features)

- **Subscriptions** — Plans, trials, cancellation, upgrades
- **Invoicing** — Auto-generated invoices, PDF export
- **Plan management** — Free, pro, enterprise tiers
- **Webhook handling** — Payment event processing
- **Multi-gateway** — Connect multiple payment gateways simultaneously

Payment gateways
----------------

[](#payment-gateways)

GatewayRegionStatus**mayar.id**Indonesia✅ Full ImplementationStripeInternationalSupportedPayPalInternationalSupportedMidtransIndonesiaSupportedXenditIndonesiaSupportedDuitkuIndonesiaPlannedFlip BusinessIndonesiaPlannediPaymuIndonesiaPlannedRequirements
------------

[](#requirements)

- PHP 8.3+
- Phalcon 5.16+
- tavp-core

Install
-------

[](#install)

```
# Via tavp CLI
tavp module:install tavp/tavphive

# Via Composer
composer require tavp/tavphive
```

Quick start
-----------

[](#quick-start)

```
use Tavp\Hive\BillingManager;

// Initialize billing with Mayar gateway
$billing = new BillingManager([
    'gateways' => [
        'mayar' => [
            'driver' => 'mayar',
            'api_key' => env('MAYAR_API_KEY'),
            'sandbox' => true, // false untuk production
        ],
    ],
]);

// Create checkout
$result = $billing->createCheckout('mayar', [
    'product_name' => 'Pro Plan',
    'amount' => 290000,
    'currency' => 'IDR',
]);

// Redirect user to checkout URL
header('Location: ' . $result['checkout_url']);
```

Database tables
---------------

[](#database-tables)

TableDescription`subscriptions`Active subscriptions`invoices`Invoice history`plans`Available plans`payments`Payment transactionsTesting
-------

[](#testing)

```
composer test
```

Status
------

[](#status)

Part of **0.1.0 Genesis** (ZeroVer `0.MINOR.PATCH`).

### Current Progress

[](#current-progress)

- ✅ MayarGateway — full implementation (checkout, invoice, membership, credit, customer, transaction, QR, webhook)
- ✅ Stripe, PayPal, Midtrans, Xendit — basic implementations
- 🔄 Duitku, Flip Business, iPaymu — planned

### Roadmap

[](#roadmap)

- `0.2.0` — Additional Indonesia gateways (Duitku, Flip, iPaymu)
- `0.3.0` — Invoice PDF export
- `0.4.0` — Webhook retry &amp; logging
- `0.5.0` — Multi-gateway failover
- `0.6.0` — Full production ready

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance91

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45a246eeec15ab5e78eec925cf3829fd5e69c302c1dee58e4e63a1551612a120?d=identicon)[jtdoank](/maintainers/jtdoank)

---

Top Contributors

[![jtdoank](https://avatars.githubusercontent.com/u/5408136?v=4)](https://github.com/jtdoank "jtdoank (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tavp-tavphive/health.svg)

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

###  Alternatives

[pagseguro/php

Biblioteca de integração com o PagSeguro

23260.3k6](/packages/pagseguro-php)[wp-pay-extensions/gravityforms

Gravity Forms driver for the WordPress payment processing library.

1134.5k5](/packages/wp-pay-extensions-gravityforms)[omalizadeh/laravel-multi-payment

A driver-based laravel package for online payments via multiple gateways

491.2k](/packages/omalizadeh-laravel-multi-payment)

PHPackages © 2026

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