PHPackages                             afrizalmy/laraindo - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. afrizalmy/laraindo

ActiveLibrary[Localization &amp; i18n](/categories/localization)

afrizalmy/laraindo
==================

Package Laravel 9 sederhana untuk format indonesia terdiri dari Localization, Rupiah format, Date format

v1.0.4(3y ago)215.3k73MITPHPPHP &gt;=8.0.2

Since Dec 31Pushed 2y ago1 watchersCompare

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

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

بِسْــــــــــــــمِ اللَّهِ الرَّحْمَنِ الرَّحِيم

Laraindo
========

[](#laraindo)

Package Laravel sederhana untuk format indonesia terdiri dari :

- Localization(locale)
- Rupiah format dan terbilang
- Date format

Instalasi
---------

[](#instalasi)

Yang dibutuhkan dalam menjalankan package ini:

**- Minimal PHP v8.0.2
- Laravel 9.x** Jalankan perintah dibawah untuk memasang pada projek kamu.

```
composer require afrizalmy/laraindo
```

*\*pastikan sudah menginstall composer di device kalian.*

Setelah itu lalukan publish provider

```
php artisan vendor:publish --provider='Laraindo\LaraindoServiceProvider'
```

### Localization(locale)

[](#localizationlocale)

Untuk mengaktifkan locale, silahkan buka file config/app.php. Cari `locale` dan `fallback_locale`, lalu ubah value menjadi `id`

```
    // file config/app.php
    'locale' => 'id',

    'fallback_locale' => 'id',
```

How to use
----------

[](#how-to-use)

- Rupiah format
    - melalui controller atau model ```
        use Laraindo\RupiahFormat; //import

        RupiahFormat::currency(1000000);
        // Rp1.000.000
        ```
    - melalui blade ```
        @RupiahFormat(1000000)
        // Rp1.000.000
        ```
- Terbilang Rupiah
    - melalui controller atau model ```
        use Laraindo\RupiahFormat; //import

        RupiahFormat::terbilang(1000000);
        // Satu Juta Rupiah
        ```
    - melalui blade ```
        @RupiahTerbilang(1000000)
        // Satu Juta Rupiah
        ```
- Date format
    - melalui controller atau model ```
        use Laraindo\TanggalFormat; //import

        TanggalFormat::DateIndo('1945/08/17 10:00:00')
        //Jumat, 17 Agustus 1945

        // custom format
        TanggalFormat::DateIndo('1945/08/17 10:00:00','l, j F Y H:i:s a')
        //Jumat, 17 Agustus 1945 10:00:00 pagi
        ```
    - melalui blade ```
        @DateIndo('1945/08/17 10:00:00')
        //Jumat, 17 Agustus 1945

        @DateIndo('1945/08/17 10:00:00',"l, j F Y H:i:s a")
        //Jumat, 17 Agustus 1945 10:00:00 pagi
        ```

    **Catatan**: Jika ingin mengganti time zone, silahkan buka `config/laraindo.php`, ubah bagian timezone. Indonesia memiliki [3 timezone](https://greenwichmeantime.com/time/indonesia/), yaitu:
    - Asia/Jakarta (GMT +07:00)
    - Asia/Makassar (GMT +08:00)
    - Asia/Ambon (GMT +09:00)

Kontribusi
----------

[](#kontribusi)

Silahkan ke halaman issue berikan untuk penjelasan lebih lanjutnya. Saya menerima dengan baik kontribusi kamu untuk package ini.

Support Me
----------

[](#support-me)

Dukung aku

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~101 days

Total

5

Last Release

1183d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/de70812b7fa8da6fa3e36ba558d7a01edb3262cd3d86032e8423836b72308416?d=identicon)[afrizalmy](/maintainers/afrizalmy)

---

Top Contributors

[![afrizal423](https://avatars.githubusercontent.com/u/34409541?v=4)](https://github.com/afrizal423 "afrizal423 (10 commits)")[![abdullahhafizh](https://avatars.githubusercontent.com/u/19485897?v=4)](https://github.com/abdullahhafizh "abdullahhafizh (2 commits)")

---

Tags

laravellaravel-9phplaravellocalizationlaravel 9indonesiatanggalrupiahindo

### Embed Badge

![Health badge](/badges/afrizalmy-laraindo/health.svg)

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

###  Alternatives

[mcamara/laravel-localization

Easy localization for Laravel

3.5k9.1M111](/packages/mcamara-laravel-localization)[waavi/translation

A Translation package for Laravel 5 with database and cache support

367437.9k6](/packages/waavi-translation)[josiasmontag/laravel-redis-mock

This Laravel package provides a Redis mock for your tests

471.8M16](/packages/josiasmontag-laravel-redis-mock)

PHPackages © 2026

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