PHPackages                             devroshan/bsdate - 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. devroshan/bsdate

ActiveProject

devroshan/bsdate
================

A simple package that convert AD to BS and viceversa.

1.2(7y ago)0396↓66.7%MITPHPPHP &gt;=5.5.9

Since Mar 16Pushed 7y agoCompare

[ Source](https://github.com/dev-roshan/nepali_date_conversion)[ Packagist](https://packagist.org/packages/devroshan/bsdate)[ RSS](/packages/devroshan-bsdate/feed)WikiDiscussions Develop Synced 6d ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

A Laravel Nepali Date.
======================

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

[![Latest Version](https://camo.githubusercontent.com/33bdaaa4ea5a41e52bb2dcc18b10639b862a3eaa5bb74693ea1ea8529fa70992/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368616e6b68616465762f6273646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shankhadev/bsdate)[![Total Downloads](https://camo.githubusercontent.com/b5e25159d8eb080a36be5f18038b852b35685e71dea1f88604dfe4a24edafb63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368616e6b68616465762f6273646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shankhadev/bsdate)[![StyleCI](https://camo.githubusercontent.com/8040ce9dc43ec6ce1d1aca4c0ce04fc19d13ed291d5bbb19e24d171d301f371f/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130323535353038392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/102555089)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shankhadev/bsdate)

A laravel date package which convert AD to BS and viceversa.

\#Installation

1. In order to install Laravel 5 Laravelbsdate,go to your project folder and open terminal and run the following code

```
composer require devroshan/bsdate
```

2. Open your `config/app.php` and add the following to the `providers` array:

```
devroshan\Bsdate\BsdateServiceProvider::class,
```

3. In the same `config/app.php` and add the following to the `aliases ` array:

```
'Bsdate' => devroshan\Bsdate\BsdateFacade::class,
```

Usage
-----

[](#usage)

```
Bsdate::eng_to_nep(2016,12,31); //For converting AD TO BS
Bsdate::nep_to_eng(2073,09,16); //For converting BS TO AD
// output
Array
(
    [year] => २०७३
    [month] => ९
    [date] => १६
    [day] => शनिबार
    [nmonth] => पुष
    [num_day] => ७
)
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

2735d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e7a5d39f03a72587aab059a023ef9ea7459fa157b7433f8ee0e9cf593ae3c11?d=identicon)[dev-roshan](/maintainers/dev-roshan)

---

Tags

nepali-dateBikramsambat

### Embed Badge

![Health badge](/badges/devroshan-bsdate/health.svg)

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

###  Alternatives

[anuzpandey/laravel-nepali-date

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

1615.5k](/packages/anuzpandey-laravel-nepali-date)

PHPackages © 2026

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