dark-calendar / solar-history-library-php
description
v2.0
2024-07-06 14:31 UTC
Requires
- php: >=8.0
- dark-calendar/lunar-history-library-php: 1.*@dev
- illuminate/support: >=v9.0.0
Requires (Dev)
- phpunit/phpunit: 10.1.3
README
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')