PHPackages                             tpframe/tpay - 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. tpframe/tpay

ActiveLibrary

tpframe/tpay
============

package for PA-tool

1.2(7y ago)013MITPHP

Since Jul 27Pushed 7y agoCompare

[ Source](https://github.com/tpframe/pay)[ Packagist](https://packagist.org/packages/tpframe/tpay)[ RSS](/packages/tpframe-tpay/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

pa-tool
=======

[](#pa-tool)

- Public excel : `php artisan vendor:publish --tag=seed`
- init data T53B : `php artisan gfl-seed:T53B`
- init data T54B : `php artisan gfl-seed:T54B`
- init data T56B : `php artisan gfl-seed:T56B`
- Public config : `php artisan vendor:publish --tag=config`
- After you have installed PA tool, open your Laravel config file config/app.php and add the following lines. In the $providers array add the service providers for this package.

    `GFL\Tool\ToolServiceProvider::class,`
- Add the facade of this package to the $aliases array.

    `'Tool' => GFL\Tool\Facades\ToolFacade::class,`
- Code Examples

```
    $density_actual = 0.79 ; // Density actual
    $Temperature = 28 ; // Temperature (*C)
    $volumn = 1000 ; // Volumn
    $unit_volumn = 'gallon'; // gallon , lit
    $exchange_rate = 25000 ; // exchange rate
    $price = 20000; //price
    $unit_price = 'VND/Gallon'; // VND/Gallon, USD/Gallon
    $vat = 20 ; // %
    $data = Tool::convert($density_actual,$Temperature,$volumn,$unit_volumn,$exchange_rate,$price,$unit_price,$vat); // convert

   dd($data);
  //array:8 [
  //  "D15" => 0.7995
  //  "VCF" => 0.9879
  //  "WCF" => 0.7984
  //  "LIT" => 76.8254
  //  "KG" => 60.5952
  //  "sub_amount" => 123456,
  //  "vat" => 123456,
  //  "amount" => 123456
  //]

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

3

Last Release

2849d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e71e4410d862a9fff5b5f533a55a07ace1598e17196b9ca51dfe0245a14c451?d=identicon)[tpframe](/maintainers/tpframe)

---

Top Contributors

[![tpframe](https://avatars.githubusercontent.com/u/29835359?v=4)](https://github.com/tpframe "tpframe (15 commits)")

### Embed Badge

![Health badge](/badges/tpframe-tpay/health.svg)

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

PHPackages © 2026

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