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

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

laratech/bsdate
===============

A laravel package which convert AD into BS.

v1.0.4(5y ago)022MITPHPPHP ^7.4|^8.0

Since Nov 26Pushed 5y ago2 watchersCompare

[ Source](https://github.com/laratechofficial/bsdate)[ Packagist](https://packagist.org/packages/laratech/bsdate)[ RSS](/packages/laratech-bsdate/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)DependenciesVersions (6)Used By (0)

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

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

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

[![Packagist Version](https://camo.githubusercontent.com/54e377bf4bb67a11fc1c65521ac94886b5685edfa07af85b38d2cacf3faf05d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c617261746563682f6273646174653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laratech/bsdate)[![Packagist Downloads](https://camo.githubusercontent.com/2cf09ee9c620041df89c777e2a18cf30055e926af659f3d12aceb3c0cf81ce48/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6c617261746563682f6273646174653f636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://packagist.org/packages/laratech/bsdate)[![Packagist License](https://camo.githubusercontent.com/6b4cb001b9e8104c3c1c7367ce87ce1c3110ee89a43ff12bce1bfa0231fabce7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c617261746563682f6273646174653f7374796c653d666c61742d737175617265)](https://github.com/laratechofficial/bsdate/blob/master/LICENSE.md)

\#Installation

You can install the package via composer:

```
composer require laratech/bsdate
```

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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

1989d ago

PHP version history (3 changes)v1.0.0PHP ^7.3

v1.0.2PHP ^7.4|^8

v1.0.3PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

datenepali-datebikram-sambat

### Embed Badge

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

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

###  Alternatives

[rlanvin/php-rrule

Lightweight and fast recurrence rules for PHP (RFC 5545)

69810.6M39](/packages/rlanvin-php-rrule)[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6308.9M39](/packages/knplabs-knp-time-bundle)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[morilog/jalali

This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in PHP applications, based on Jalali (Shamsi) DateTime class.

9201.2M45](/packages/morilog-jalali)[brick/date-time

Date and time library

3623.3M61](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

2079.7M16](/packages/aeon-php-calendar)

PHPackages © 2026

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