dark-calendar/solar-history-library-php

description

Installs: 45

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/dark-calendar/solar-history-library-php

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

This package is auto-updated.

Last update: 2025-10-06 17:27:09 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')