PHPackages                             mahmudz/bangla-somoy - 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. mahmudz/bangla-somoy

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

mahmudz/bangla-somoy
====================

Convert english date/time/numbers to bangla(vice-versa) in your laravel project.

201PHP

Since Jul 15Pushed 6y agoCompare

[ Source](https://github.com/mahmudz/BanglaSomoy)[ Packagist](https://packagist.org/packages/mahmudz/bangla-somoy)[ RSS](/packages/mahmudz-bangla-somoy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c9de7db5fe6df635635590c62d5855d91cf635f2e28988d7688b5e6667beb596/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61686d75647a2f62616e676c612d736f6d6f792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mahmudz/bangla-somoy)[![Total Downloads](https://camo.githubusercontent.com/d2fd6e7e618fbe943a22fd083d5f453cea434754206a9485b1af2673645214a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61686d75647a2f62616e676c612d736f6d6f792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mahmudz/bangla-somoy)

This laravel package will help you to convert english date/time/numbers to bangla OR bangla date/time/numbers to english format in your laravel application.

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

[](#installation)

You can install the package via composer:

```
composer require mahmudz/bangla-somoy
```

Usage in php
------------

[](#usage-in-php)

```
// Import the package at the top of your file
use Mahmudz\BanglaSomoy\BanglaSomoy;

// To convert Enlgish to Bangla
$bnTime = BanglaSomoy::toBangla('01-12-1995 Friday 01:02:12 Pm');

// To convert Bangla to English
$enTime = BanglaSomoy::toEnglish('০১-১২-১৯৯৫ শুক্রবার ০১:০২:১২ অপরাহ্ন');
```

Usage in blade file
-------------------

[](#usage-in-blade-file)

Before doing that, please register facade class in config `config/app.php` file

```
// Register service provider as providers.
Mahmudz\BanglaSomoy\BanglaSomoyServiceProvider::class,

// Register class as aliases.
'BanglaSomoy' => Mahmudz\BanglaSomoy\BanglaSomoyFacade::class,
```

```
// To convert Enlgish to Bangla
{{ BanglaSomoy::toBangla('01-12-1995 Friday 01:02:12 Pm') }}

// To convert Bangla to English
{{ BanglaSomoy::toEnglish('০১-১২-১৯৯৫ শুক্রবার ০১:০২:১২ অপরাহ্ন') }}
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Mahmudul Hasan](https://github.com/mahmudz)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/411876d500388b8b71d5c2e8b2a7839865ef4a07941a67ec8234ac33a38599da?d=identicon)[mahmudz](/maintainers/mahmudz)

---

Top Contributors

[![mahmudz](https://avatars.githubusercontent.com/u/22455598?v=4)](https://github.com/mahmudz "mahmudz (6 commits)")

### Embed Badge

![Health badge](/badges/mahmudz-bangla-somoy/health.svg)

```
[![Health](https://phpackages.com/badges/mahmudz-bangla-somoy/health.svg)](https://phpackages.com/packages/mahmudz-bangla-somoy)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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