PHPackages                             bizmitra/amountinwords - 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. bizmitra/amountinwords

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

bizmitra/amountinwords
======================

A package to convert amount into words

1.1.2(1y ago)024MITPHPPHP ^7.4|^8.0

Since Oct 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mkr2005/amountinwords)[ Packagist](https://packagist.org/packages/bizmitra/amountinwords)[ RSS](/packages/bizmitra-amountinwords/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (2)Versions (5)Used By (0)

Bizmitra Amount in Words
========================

[](#bizmitra-amount-in-words)

A simple Laravel package to convert numeric amounts into their equivalent words.

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

[](#installation)

You can install the package via Composer. Run the following command in your Laravel project's root directory:

```
composer require bizmitra/amountinwords

Usage
Step 1: Service Provider Registration
Laravel should automatically detect the service provider. However, if you want to manually register it, add the following line to the providers array in your config/app.php file:

'providers' => [
    // Other Service Providers

    Bizmitra\Amountinwords\AmountinwordsServiceProvider::class,
],

Step 2: Using the Package
You can use the PrintAmountInWords class in your controllers or anywhere in your Laravel application. Here’s an example:

Example Controller
Create a new controller using the following command:

php artisan make:controller AmountController

Then, use the following code in your AmountController.php:

amountInWords = $amountInWords;
    }

    public function index()
    {
        $amount = 12345; // Example amount
        $words = $this->amountInWords->displayWords($amount);

        return response()->json([
            'amount' => $amount,
            'in_words' => $words,
        ]);
    }
}
Step 3: Create a Route
You can create a route to access the controller in your routes/web.php (or routes/api.php) file:

use App\Http\Controllers\AmountController;

Route::get('/amount-in-words', [AmountController::class, 'index']);

Usage
   $amount = 4500.00; // Example amount
    // Call the correct method to convert amount to words with currency names
    $words = $this->amountInWords->amountToWords($amount, 'USD', 'cents');

    return response()->json([
        'amount' => $amount,
        'in_words' => $words,

Step 4: Accessing the Functionality
Now, when you access the /amount-in-words route in your browser or through an API client like Postman, you should get a JSON response with the amount in words:

Step 5: Testing the Functionality
Make sure to test your functionality by accessing the route you created and verifying that it returns the correct output.

License
This package is licensed under the MIT License.

Author
Bizmitra ERP
Mahendrasinh Rana & Vishal
Email: mkr@bizmitra.io

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Total

4

Last Release

623d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/148677779?v=4)[bizmitra](/maintainers/bizmitra)[@bizmitra](https://github.com/bizmitra)

---

Top Contributors

[![mkr2005](https://avatars.githubusercontent.com/u/8779686?v=4)](https://github.com/mkr2005 "mkr2005 (11 commits)")

---

Tags

laravelconverterwordscrmERPamountamount in wordsamount to wordsamount converterBizmitra ERP

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bizmitra-amountinwords/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43411.2k](/packages/venturedrake-laravel-crm)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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