PHPackages                             goodypay/goodypay-calculator - 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. goodypay/goodypay-calculator

ActiveLibrary[Payment Processing](/categories/payments)

goodypay/goodypay-calculator
============================

A payment calculator library for GoodyPay.

09PHP

Since Apr 28Pushed 3y ago3 watchersCompare

[ Source](https://github.com/goodyweb/goodypay-calculator)[ Packagist](https://packagist.org/packages/goodypay/goodypay-calculator)[ RSS](/packages/goodypay-goodypay-calculator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PayMongo pricing calculator for PHP
===================================

[](#paymongo-pricing-calculator-for-php)

Table of Contents
-----------------

[](#table-of-contents)

1. [Features](#Features)
2. [Installation](#Installation)
3. [Requirements](#Requirements)
4. [Guide](#Guide)
    1. [Using GoodyPayCalculator Class](#Class)
    2. [For direct use using the static method](#Method)
5. [Contributors](#Contributors)

Features
--------------------------------------------

[](#features)

```
Calculate the pricing of base on Paymongo specifically for **Card, E-Wallet and Online Banking**

```

Installation
----------------------------------------------------

[](#installation)

Run

```
composer require goodypay/goodypay-calculator

composer install

```

Requirements
----------------------------------------------------

[](#requirements)

```
PHP version 5.3.0

```

Guide
--------------------------------------

[](#guide)

**1. Using GoodyPayCalculator Class**

- `GoodyPayCalculator::Compute('paymentMethod', $amount, true)`
- Accept payment method such as `"Gcash"`, `"Paymaya"`, `"Grabpay"`, `"Card"`, `"Online banking"`
- Compute `("Gcash", 3000, true)`
    - *`Gcash` (Payment Method)*
    - *`3000` (Amount)*
    - *`true` (Foreign, specific for online banking)*

**2. For direct use using the static method**

- `GoodyPayCalculator::ComputeGcash ($amount)`
- `GoodyPayCalculator::ComputeCard ($amount, $foreign = null)`
- `GoodyPayCalculator::ComputeOnlineBanking ($amount)`
- `GoodyPayCalculator::ComputeGrabPay ($amount)`
- `GoodyPayCalculator::ComputeMaya ($amount)`

Contributors
----------------------------------------------------

[](#contributors)

- Gandalla, Reymark Jan ()
- Ortizuela, Robin ()
- Salvame, Grace Ann ()
- Tamala, James Lester ()

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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://www.gravatar.com/avatar/005aa257067688a3cebfeabf0a740c5ba2c545c6640c98a54fdda937718e6978?d=identicon)[reymarkjan01](/maintainers/reymarkjan01)

---

Top Contributors

[![gracesalvzz](https://avatars.githubusercontent.com/u/125423452?v=4)](https://github.com/gracesalvzz "gracesalvzz (18 commits)")[![reymarkjan01](https://avatars.githubusercontent.com/u/125425356?v=4)](https://github.com/reymarkjan01 "reymarkjan01 (15 commits)")[![webrobs](https://avatars.githubusercontent.com/u/90995109?v=4)](https://github.com/webrobs "webrobs (15 commits)")[![jameslestertamala](https://avatars.githubusercontent.com/u/112785039?v=4)](https://github.com/jameslestertamala "jameslestertamala (10 commits)")

### Embed Badge

![Health badge](/badges/goodypay-goodypay-calculator/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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