2017 © Pedro Peláez
 

library carbony

convert from/to Hijri and Gregorian

image

cammac/carbony

convert from/to Hijri and Gregorian

  • Thursday, January 4, 2018
  • by efrontsa
  • Repository
  • 1 Watchers
  • 5 Stars
  • 89 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 709 % Grown

The README.md

Hijri date library on top of Carbon

Installation

You can install the package via composer:, (*1)

``` bash $ composer require cammac/carbony, (*2)


## Usage you can use it just like Carbon package i just add two functions ### hijriFormat format the timestamp to hijri date (convert gregorian to hijri) ``` php Carbony::now()->hijriFormat('Y-m-d')

hijriParse

parse the input and convert it to gregorian, (*3)

``` php Carbony::hijriParse('1409-06-14'), (*4)


## Testing ``` bash $ vendor/bin/phpunit

Security

If you discover any security related issues, please email abdullah@efront.sa instead of using the issue tracker., (*5)

Credits

License

The MIT License (MIT). Please see License File for more information., (*6)

The Versions

04/01 2018

dev-master

9999999-dev

convert from/to Hijri and Gregorian

  Sources   Download

MIT

The Requires

 

by Abdullah AlGethami

04/01 2018

1.0

1.0.0.0

convert from/to Hijri and Gregorian

  Sources   Download

MIT

The Requires

 

by Abdullah AlGethami