PHPackages                             yadders/rupiah-redenom - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yadders/rupiah-redenom

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yadders/rupiah-redenom
======================

A Laravel package to handle Rupiah redenomination.

v1.0.4(5mo ago)11mitPHPPHP ^8.1

Since Dec 1Pushed 5mo agoCompare

[ Source](https://github.com/Fenanders/rupiah-redenominasi)[ Packagist](https://packagist.org/packages/yadders/rupiah-redenom)[ RSS](/packages/yadders-rupiah-redenom/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

Laravel Rupiah Redenomination
=============================

[](#laravel-rupiah-redenomination)

[![Latest Version on Packagist](https://camo.githubusercontent.com/11390ae997cb56e3d2639ed50dafa3d944cf525dea523d92aac35f0b2df0ff8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796164646572732f7275706961682d726564656e6f6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yadders/rupiah-redenom)[![Total Downloads](https://camo.githubusercontent.com/02dfaa77f0a20bc79553ff6c698ed00fceeaf4ad7faf7b7d5f932d42a8c13aa3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796164646572732f7275706961682d726564656e6f6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yadders/rupiah-redenom)

A simple Laravel package to help with the planned Indonesian Rupiah redenomination. This package provides a simple way to "simplify" a Rupiah value (e.g., from 1,000 to 1) and format it.

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

[](#installation)

You can install the package via composer:

```
composer require yadders/rupiah-redenom
```

The package will automatically register its service provider and facade.

Usage
-----

[](#usage)

You can use the `Rupiah` facade to access the package's functionality.

### Simplifying Rupiah Values

[](#simplifying-rupiah-values)

The `simplifyRupiah` method divides a given value by 1000 (the default divisor for the redenomination).

```
use Yadders\RupiahRedenom\Facades\Rupiah;

// Basic simplification
$oldRupiah = 1000000;
$newRupiah = Rupiah::simplifyRupiah($oldRupiah); // Returns 1000.0

$anotherOldRupiah = 5500;
$anotherNewRupiah = Rupiah::simplifyRupiah($anotherOldRupiah); // Returns 5.5
```

You can also provide a custom divisor:

```
use Yadders\RupiahRedenom\Facades\Rupiah;

$value = 10000;
$simplified = Rupiah::simplifyRupiah($value, 100); // Returns 100.0
```

### Formatting as Rupiah

[](#formatting-as-rupiah)

The `format` method formats a number into a Rupiah string.

```
use Yadders\RupiahRedenom\Facades\Rupiah;

$value = 12345.67;
$formatted = Rupiah::format($value); // Returns "Rp 12.345,67"

$simplifiedValue = Rupiah::simplifyRupiah(500000); // 500.0
$formattedSimplified = Rupiah::format($simplifiedValue); // Returns "Rp 500,00"
```

Testing
-------

[](#testing)

To run the package's tests, use the following command:

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance76

Regular maintenance activity

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

4

Last Release

158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54d27ec88695d58212a3760e720b4f6567de793c51515ec7ebab2388f0965926?d=identicon)[yadders](/maintainers/yadders)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yadders-rupiah-redenom/health.svg)

```
[![Health](https://phpackages.com/badges/yadders-rupiah-redenom/health.svg)](https://phpackages.com/packages/yadders-rupiah-redenom)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M682](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M857](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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