2017 © Pedro Peláez
 

project bsdate

A simple package that convert AD to BS and viceversa.

image

devroshan/bsdate

A simple package that convert AD to BS and viceversa.

  • Friday, March 16, 2018
  • by dev-roshan
  • Repository
  • 0 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 14 % Grown

The README.md

A Laravel Nepali Date.

Latest Version Total Downloads StyleCI License, (*1)

A laravel date package which convert AD to BS and viceversa., (*2)

Installation

1) In order to install Laravel 5 Laravelbsdate,go to your project folder and open terminal and run the following code, (*3)

composer require devroshan/bsdate 

2) Open your config/app.php and add the following to the providers array:, (*4)

devroshan\Bsdate\BsdateServiceProvider::class,

3) In the same config/app.php and add the following to the aliases array:, (*5)

'Bsdate' => devroshan\Bsdate\BsdateFacade::class,

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] => ७
)

The Versions

16/03 2018

dev-master

9999999-dev

A simple package that convert AD to BS and viceversa.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Avatar roshan

nepali date bikramsambat

16/03 2018

dev-Develop

dev-Develop

A simple package that convert AD to BS and viceversa.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Avatar roshan

nepali date bikramsambat

16/03 2018

1.0

1.0.0.0

A simple package that convert AD to BS and viceversa.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Avatar roshan

nepali date bikramsambat