dark-calendar/solar-history-library-php

v1.8 2023-06-01 10:14 UTC

This package is auto-updated.

Last update: 2024-05-30 01:00:14 UTC


README

Solar date library for php

Installing

run command :

composer require dark-calendar/solar-history-library-php

use

Create new Object:

$dateSolar = new DarkCalendar\SolarDate\SolarDateService();

Or use Facade:

\DarkCalendar\SolarDate\SolarDate::class;

In Facades, you can access class methods statically.

Methods

date

array|string date($format, string|int $timestamp = '', string|int $none = '', string $time_zone = 'Asia/Tehran', string $tr_num = 'fa')