arifhossen/taka-format

It will help php developer to convert any amount to Bangladeshi Currency format by Comma separated and in words

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 2

Open Issues: 0

pkg:composer/arifhossen/taka-format

v1.0.0 2024-03-04 05:47 UTC

This package is not auto-updated.

Last update: 2025-12-23 13:29:23 UTC


README

This is a php library. It will help php developer to convert any amount to Bangladeshi Currency format by comma-separated (e.g. ৳1,50,395) and in words (e.g. One lakh fifty thousand three hundred ninety five taka.) in the Bangladeshi way.

Installation

Taka-Format is a php library; it's build on top of php 8^ and Pest ^2.34

In terms of local development, you can use the following requirements:

  • PHP ^8
  • pestphp/pest: ^2.34

If you have these requirements, you can start by run this command:

composer require arifhossen/taka-format

Next, use the trait on you respective class

use TakaFormat;

$this->takaSeperatedByComma(199990) // ৳1,99,990
$this->takaInWords(199990) // One lakh ninety Nine thousands Nine hundred and ninety taka

Enjoy 🎉