PHPackages                             kematjaya/price-bundle - 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. kematjaya/price-bundle

ActiveLibrary

kematjaya/price-bundle
======================

7.2.1(2mo ago)11.3k↓100%1MITPHP

Since Apr 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/kematjaya0/price-bundle)[ Packagist](https://packagist.org/packages/kematjaya/price-bundle)[ RSS](/packages/kematjaya-price-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (16)Versions (43)Used By (1)

price-bundle
============

[](#price-bundle)

Price Type Extension for Symfony 4

1. installation

    ```
    composer require kematjaya/price-bundle

    ```
2. add to bundles.php

    ```
    Kematjaya\PriceBundle\PriceBundle::class => ["all" => true]

    ```
3. add in twig.yaml

    ```
    twig:
    form_themes:
        ....
        - '@Price/bootstrap_5_price_layout.html.twig' ## for bootstrap 5
        - '@Price/bootstrap_4_price_layout.html.twig' ## for bootstrap 4
        - '@Price/bootstrap_3_price_layout.html.twig' ## for bootstrap 3
        ....

    ```
4. Usage 3.1. Form

    ```
    ...
    use Kematjaya\PriceBundle\Type\PriceType;
    ...

    $builder->add("price", PriceType::class);
    ...

    ```

    3.2. Twig

    - terbilang

    ```
    {{ terbilang(1000) }} // seribu
    {{ terbilang(40000) }} // empat puluh ribu

    ```

    - price format

    ```
    {{ price(1000) }} // IDR 1,000
    {{ price(1000.22) }} // IDR 1,000.22
    {{ price(4500) }} // IDR 4,500

    ```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance86

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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 ~40 days

Recently: every ~110 days

Total

37

Last Release

67d ago

Major Versions

1.1.7 → 7.02024-10-28

1.2.3 → 7.0.12024-12-18

1.2.4 → 7.0.22024-12-23

1.4 → 7.12024-12-30

1.5 → 7.2.12026-03-13

### Community

Maintainers

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

---

Top Contributors

[![kematjaya0](https://avatars.githubusercontent.com/u/36223951?v=4)](https://github.com/kematjaya0 "kematjaya0 (13 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kematjaya-price-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kematjaya-price-bundle/health.svg)](https://phpackages.com/packages/kematjaya-price-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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