Download the PHP package s1k3/bangla-number-to-word without Composer
On this page you can find all versions of the php package s1k3/bangla-number-to-word. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download s1k3/bangla-number-to-word
More information about s1k3/bangla-number-to-word
Files in s1k3/bangla-number-to-word
Download s1k3/bangla-number-to-word
More information about s1k3/bangla-number-to-word
Files in s1k3/bangla-number-to-word
Vendor s1k3
Package bangla-number-to-word
Short Description Laravel Package to convert number to bangla currency works with both english and bangla
License MIT
Package bangla-number-to-word
Short Description Laravel Package to convert number to bangla currency works with both english and bangla
License MIT
Please rate this library. Is it a good library?
Informations about the package bangla-number-to-word
Laravel Library for converting number to word both for Bangla & English
Requirements This package uses the php-intl extension for English conversion.
Installation
- composer require s1k3/bangla-number-to-word
-
(You may skip this step when using Laravel >= 5.5). Navigate to
config/app.phpand add to the providers array: - Publish the configuration file:
Helper Function
number_to_word(string $number, string $language = ''): string
| Parameter | Type | Description |
|---|---|---|
$number |
string | The numeric value to convert (integer or decimal) |
$language |
string | 'en' for English, 'bn' for Bangla. Defaults to config value |
Blade Directive
@numberToWord($number, $language)
Use directly inside any Blade template. The language argument is optional and falls back to the config default.
Configuration (config/number_to_word.php)
| Key | Description |
|---|---|
language |
Default language — 'en' (English) or 'bn' (Bangla) |
unit |
Currency name appended at the end of each result |
units |
Denomination labels used in the conversion |
All versions of bangla-number-to-word with dependencies
PHP Build Version
Package Version
The package s1k3/bangla-number-to-word contains the following files
Loading the files please wait ...