Skip to content

bhaktaraz/ghantaghar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghantaghar

A simple PHP API extension for Nepali DateTime. http://bhaktaraz.com.np

printf("अहिले को समय :: %s", Ghantaghar::now());

Installation

With Composer

$ composer require bhaktaraz/ghantaghar
{
    "require": {
        "bhaktaraz/ghantaghar": "dev-master"
    }
}
<?php
require 'vendor/autoload.php';

use Bhaktaraz\Ghantaghar\Ghantaghar;

printf("अहिले को समय :: %s", Ghantaghar::now());
### Without Composer

Why are you not using composer? Download Ghantaghar.php from the repo and save the file into your project path somewhere.

<?php
require 'path/to/Ghantaghar.php';

use Bhaktaraz\Ghantaghar\Ghantaghar;

printf("अहिले को समय :: %s", Ghantaghar::now());

About

A simple API extension for Nepali DateTime.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages