2017 © Pedro Peláez
 

library nepalicalendar

Composer ready nepali calendar

image

fivedots/nepalicalendar

Composer ready nepali calendar

  • Wednesday, July 29, 2015
  • by samundra
  • Repository
  • 3 Watchers
  • 3 Stars
  • 139 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 1 Open issues
  • 2 Versions
  • 40 % Grown

The README.md

Introduction of the Repository Build Status

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

This is basically a rewrite and code structuring of the Nepali_Calendar.php class from Aman Tuladhar Aman Github Link., (*2)

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., (*3)

Year Supported

Range: 1944-2022 (AD), (*4)

How to install it?

Add the below code on require section of your composer.json file., (*5)

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

After adding the above require statement, run composer update., (*6)

How to use it?

Refer to example.php file

 <?php
 require __DIR__.'/vendor/autoload.php';

 $calendar = new Fivedots\NepaliCalendar\Calendar();

 // Get English to Nepali converted date
 print_r($calendar->englishToNepali(2015,1,1));

 // Get Nepali to English converted date
 print_r($calendar->nepaliToEnglish(2071,9,17));

Hope this helps someone., (*7)

The Versions

29/07 2015

dev-master

9999999-dev

Composer ready nepali calendar

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Amant Tuladhar

01/01 2015

v1.0

1.0.0.0

Composer ready nepali calendar

  Sources   Download

MIT

The Requires

 

by Amant Tuladhar