PHPackages                             fivedots/nepalicalendar - 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. fivedots/nepalicalendar

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

fivedots/nepalicalendar
=======================

Composer ready nepali calendar

v1.0(11y ago)41.4k7[2 issues](https://github.com/FiveDotsSoft/Nepali-Date-Converter/issues)1MITHTMLPHP &gt;=5.3.0

Since Jan 1Pushed 7y ago2 watchersCompare

[ Source](https://github.com/FiveDotsSoft/Nepali-Date-Converter)[ Packagist](https://packagist.org/packages/fivedots/nepalicalendar)[ RSS](/packages/fivedots-nepalicalendar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

Introduction of the Repository [![Build Status](https://camo.githubusercontent.com/3f69b15faf7dfd060569f83fc1343f4ba49cb977e96a3623aa3ee79acce426d1/68747470733a2f2f7472617669732d63692e6f72672f46697665446f7473536f66742f4e6570616c692d446174652d436f6e7665727465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/FiveDotsSoft/Nepali-Date-Converter)
====================================================================================================================================================================================================================================================================================================================================================================

[](#introduction-of-the-repository-)

This repository contains the PHP code that can be used to convert date from Nepali-English and vice versa.

This is basically a rewrite and code structuring of the Nepali\_Calendar.php class from Aman Tuladhar [Aman Github Link](https://github.com/amant/Nepali-Date-Convert/blob/master/php/nepali_calendar.php).

I basically made it composer ready and added few tests cases. I have also added the code coverage so anyone trying to make use of this library may find it helpful.

Year Supported
==============

[](#year-supported)

Range: 1944-2022 (AD)

How to install it?
==================

[](#how-to-install-it)

Add the below code on `require` section of your `composer.json` file.

```
 "require": {
      "fivedots/nepalicalendar":"*"
 }

```

After adding the above require statement, run `composer update`.

How to use it?
==============

[](#how-to-use-it)

### Refer to `example.php` file

[](#refer-to-examplephp-file)

```
