PHPackages                             proshore/nepali-date-converter - 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. proshore/nepali-date-converter

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

proshore/nepali-date-converter
==============================

Package to convert carbon date to nepali date

1.0.0(2y ago)0991MITPHPPHP ^8.0

Since Mar 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/proshore/laravel-nepali-date-converter)[ Packagist](https://packagist.org/packages/proshore/nepali-date-converter)[ RSS](/packages/proshore-nepali-date-converter/feed)WikiDiscussions main Synced 3w ago

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

Laravel Nepali Date Converter
=============================

[](#laravel-nepali-date-converter)

This Laravel package provides functionality to convert dates from the Gregorian calendar (AD) to the Bikram Sambat calendar (BS) using the native Carbon library. It's especially useful for applications targeting Nepali users or systems where Bikram Sambat dates are relevant.

Features
--------

[](#features)

- Seamless conversion of dates from AD to BS and vice versa.
- Integration with Laravel's native Carbon library for efficient and accurate date manipulation.
- Simple to integrate into existing Laravel applications.

[![Tests](https://github.com/proshore/laravel-nepali-date-converter/actions/workflows/test.yml/badge.svg)](https://github.com/proshore/laravel-nepali-date-converter/actions/workflows/test.yml)[![Laravel Nepali Date Converter Code Analysis](https://github.com/proshore/laravel-nepali-date-converter/actions/workflows/analyze.yml/badge.svg)](https://github.com/proshore/laravel-nepali-date-converter/actions/workflows/analyze.yml)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- Carbon PHP Library

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

[](#installation)

### Composer

[](#composer)

Install using composer

`composer require proshore/laravel-nepali-date-converter`

Publish your config file

`php artisan vendor:publish --tag=nepali-date`

Usages
------

[](#usages)

You can directly convert Carbon date to Nepali date using chain function in Carbon.

`Carbon\Carbon::now()->toBS();`

[![To Bs Example](assets/example1.png)](assets/example1.png)

Get Formatted date

`Carbon\Carbon::now()->toBSDate();`

`Carbon\Carbon::now()->toBSFormattedDate();`

[![Formatted To Bs Example](assets/example2.png)](assets/example2.png)

Using without carbon

`Proshore\NepaliDate\Facades\NepaliDateConverter::getBSbyAd(2024,03,01);`

`Proshore\NepaliDate\Facades\NepaliDateConverter::getADbyBS(2080,11,18);`

[![Default converter](assets/example3.png)](assets/example3.png)

Get Carbon date from Bs Date

`Proshore\NepaliDate\Facades\NepaliDateConverter::toAD(2080,11,18);`

[![BS To Carbon Date](assets/example4.png)](assets/example4.png)

Contributers ✨
--------------

[](#contributers-)

[![](https://github.com/kundankarna1994.png)](https://github.com/kundankarna1994/)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

844d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/0c7057e6530a30ec5245ab513a51e9fff87862455847d3abf30fb20e7ca9f25c?d=identicon)[kundankarna1994](/maintainers/kundankarna1994)

---

Top Contributors

[![kundankarna1994](https://avatars.githubusercontent.com/u/52775829?v=4)](https://github.com/kundankarna1994 "kundankarna1994 (22 commits)")

---

Tags

nepali-datenepali-date-converternepalicarbon to nepali date

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/proshore-nepali-date-converter/health.svg)

```
[![Health](https://phpackages.com/badges/proshore-nepali-date-converter/health.svg)](https://phpackages.com/packages/proshore-nepali-date-converter)
```

###  Alternatives

[dantleech/fink

Checks Links

2266.5k2](/packages/dantleech-fink)[anuzpandey/laravel-nepali-date

A Laravel Package to convert English Date (A.D.) to Nepali Date (B.S.) and vice-versa.

1819.2k](/packages/anuzpandey-laravel-nepali-date)[bitrix-expert/bbc-module

Module with classes for the basis components

1952.0k1](/packages/bitrix-expert-bbc-module)

PHPackages © 2026

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