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

ActiveLibrary

snlbaral/nepali-date
====================

Nepali Date for PHP.

0.1(4y ago)018BSD-3-ClausePHP

Since Sep 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/snlbaral/nepali-date)[ Packagist](https://packagist.org/packages/snlbaral/nepali-date)[ Docs](https://github.com/snlbaral/nepali-date)[ RSS](/packages/snlbaral-nepali-date/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Nepali Date for PHP
===================

[](#nepali-date-for-php)

nepali-date (Get Current Nepali Date)
=====================================

[](#nepali-date-get-current-nepali-date)

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

[](#requirements)

Using this library for PHP requires the following:

- \[Composer\] or a manual install of the dependencies mentioned in `composer.json`.

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

[](#installation)

The recommended way to install it PHP is to install it using

```
composer require snlbaral/nepali-date
```

Usages
------

[](#usages)

**Init**

```
require 'vendor/autoload.php';
use Snlbaral\NepaliDate\NepaliDate;

echo new NepaliDate();
//सोमबार, भदौ २८, २o७८

echo new NepaliDate("M d, l");
//भदौ २८, सोमबार
```

**Parameters**

```
/**
 * @param string $format Date Format (i.e. "Y-m-d" or "l, m") | Default = "l, M d, Y"
 * @param boolean $convert convert number/digits to nepali numbers (i.e. १) | Default = true
 * @return string Nepali Date.
*/
echo new NepaliDate("l, M d", false);
//सोमबार, भदौ 28
```php

**Available Options**
1. l => Day name
2. d => day (1-31)
3. m => month (1-12)
4. M => month name
5. Y => Year
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

1702d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/75522799?v=4)[Sunil Baral](/maintainers/snlbaral)[@snlbaral](https://github.com/snlbaral)

---

Top Contributors

[![snlbaral](https://avatars.githubusercontent.com/u/75522799?v=4)](https://github.com/snlbaral "snlbaral (7 commits)")

---

Tags

phpnepali-datedate-convertersnlbaral

### Embed Badge

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

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)

PHPackages © 2026

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