PHP code example of dark-calendar / solar-history-library-php
1. Go to this page and download the library: Download dark-calendar/solar-history-library-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dark-calendar / solar-history-library-php example snippets
$dateSolar = new DarkCalendar\SolarDate\SolarDateService();
\DarkCalendar\SolarDate\SolarDate::class;
array|string date($format, string|int $timestamp = '', string|int $none = '', string $time_zone = 'Asia/Tehran', string $tr_num = 'fa')