dark-calendar/solar-history-library-php

v2.0 2024-07-06 14:31 UTC

This package is auto-updated.

Last update: 2025-01-06 15:48:01 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')