PHPackages                             thenineties/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thenineties/bsdate

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

thenineties/bsdate
==================

A simple package that convert AD to BS and viceversa.

038PHP

Since Mar 27Pushed 3y agoCompare

[ Source](https://github.com/prithvidev1/laravelbsdate)[ Packagist](https://packagist.org/packages/thenineties/bsdate)[ RSS](/packages/thenineties-bsdate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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, just add the following to your composer.json in require. Then run composer update:

```
"thenineties/bsdate": "master-dev"
```

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

```
TheNineties\Bsdate\BsdateServiceProvider::class,
```

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

```
'Bsdate' => TheNineties\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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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/8f9877a4107c72437ab62114db899299aa62415654a296ff5209ab3abb5d5c16?d=identicon)[prithvidev1](/maintainers/prithvidev1)

---

Top Contributors

[![shankhadevpadam](https://avatars.githubusercontent.com/u/3838722?v=4)](https://github.com/shankhadevpadam "shankhadevpadam (56 commits)")[![prithvidev1](https://avatars.githubusercontent.com/u/88567697?v=4)](https://github.com/prithvidev1 "prithvidev1 (8 commits)")

### Embed Badge

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

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

PHPackages © 2026

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