PHPackages                             ar-ras/bea-cukai - 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. ar-ras/bea-cukai

ActiveLibrary

ar-ras/bea-cukai
================

Final project for Code Reusability course

v1.2.0(3y ago)023MITPHPPHP &gt;=7.4

Since Dec 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Ar-Ras/BeaCukai)[ Packagist](https://packagist.org/packages/ar-ras/bea-cukai)[ RSS](/packages/ar-ras-bea-cukai/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Package Perhitungan Pajak Barang Import
=======================================

[](#package-perhitungan-pajak-barang-import)

Package perhitungan pajak barang impor fungsinya ialah untuk mempermudah user dalam bertransaksi barang yang berasal dari luar negeri

Features
--------

[](#features)

- Menghitung pajak cukai barang
- Menghitung PPNBM
- Menghitung PPN
- Menghitung PPH

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

[](#installation)

Install package with composer

```
  composer require ar-ras/bea-cukai
  composer install
```

Usage/Examples
--------------

[](#usageexamples)

```
    $myPrice = $insuranceCost = $shipmentCost = $goodsCost = 0;
    $entryTax = $ppn = $ppnBm = $pph = 0;

    Configurator::setPphJsonPath('C:\xampp\htdocs\beacukai\vendor\ar-ras\bea-cukai\database\pph.json');
    Configurator::setPphJsonContent();

    $myProduct = new Product();
    $myProduct->setPrice($goodsCost);
    $myProduct->setEntryTax($entryTax);
    $myProduct->setPpn($ppn);
    $myProduct->setPpnBm($ppnBm);

    $taxCalc = new CalculateTax($myProduct);
    $taxCalc->calculateCIF($insuranceCost, $shipmentCost);

    $taxCalc->calculatePDRI($pph);

    $myPrice = $taxCalc->calculateTotal();
```

FAQ
---

[](#faq)

#### Apa yang bisa saya dapat dari package ini?

[](#apa-yang-bisa-saya-dapat-dari-package-ini)

Dengan package ini, user dapat mengetahui total harga barang impor yang sudah dihitung dengan nilai pajak yang berlaku

#### Apakah ada biaya untuk menggunakan package ini?

[](#apakah-ada-biaya-untuk-menggunakan-package-ini)

Tidak ada, package ini gratis untuk digunakan (free to use)

Authors
-------

[](#authors)

- [@ariaarub](https://github.com/ariaarub)
- [@dennishansss](https://github.com/dennishansss)
- [@AchmadRaflyUB](https://github.com/AchmadRaflyUB)
- [@auryhs](https://github.com/auryhs)
- [@ratusalmaa](https://github.com/ratusalmaa)
- [@Japeran](https://github.com/Japeran)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

1258d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa43c4a1f20ffe4b74e9a3d8915d3fcfec121dde43ef150180e9a4e78866df42?d=identicon)[Ar-Ras](/maintainers/Ar-Ras)

---

Top Contributors

[![ariaarub](https://avatars.githubusercontent.com/u/95572966?v=4)](https://github.com/ariaarub "ariaarub (56 commits)")

### Embed Badge

![Health badge](/badges/ar-ras-bea-cukai/health.svg)

```
[![Health](https://phpackages.com/badges/ar-ras-bea-cukai/health.svg)](https://phpackages.com/packages/ar-ras-bea-cukai)
```

PHPackages © 2026

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