Dekaph
DEKAtrian for PHp
This is a simple library for converting dates between Dekatrian and Gregorian calendars. This library is not official.
This package is compatible with PSR-12, PSR-4 and PHP Insights.
Install
This project uses PHP and Composer.
$ composer require sepbit/dekaph
Usage
This is minimal example.
<?php
require __DIR__ .'/vendor/autoload.php';
use Sepbit\Dekaph\Dekatrian;
// Convert from Dekatrian to Gregorian calendars.
Dekatrian::dekaToGreg(2018, 13, 28);
// Return string, 2018-12-31
// Convert from Gregorian to Dekatrian calendars.
Dekatrian::gregToDeka(2018, 12, 31);
// Return string, 2018-13-28
Contributing
Pull Requests not accepted.
Security
If you discover any security related issues, please email contato@sepbit.com
instead of using the issue tracker.
License
GPL-3.0-or-later, please see COPYING file for more information.