PHPackages                             dark-calendar/solar-history-library-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dark-calendar/solar-history-library-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dark-calendar/solar-history-library-php
=======================================

description

v2.0(1y ago)0491proprietaryPHPPHP &gt;=8.0

Since May 12Pushed 1y agoCompare

[ Source](https://github.com/DarkCalendar/Solar-History-Library-PHP)[ Packagist](https://packagist.org/packages/dark-calendar/solar-history-library-php)[ RSS](/packages/dark-calendar-solar-history-library-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (12)Used By (1)

Solar-History-Library-PHP
=========================

[](#solar-history-library-php)

[![](https://camo.githubusercontent.com/e55ff67479fb5d5b3920770f0c9777543d44d0377fb467568cf4438b559cd1f8/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f536f6c6172253230446174652e706e673f7468656d653d6461726b267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6461726b2d63616c656e6461722f736f6c61722d686973746f72792d6c6962726172792d706870267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d536f6c61722b646174652b6c6962726172792b666f722b504850266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d63616c656e646172)](https://camo.githubusercontent.com/e55ff67479fb5d5b3920770f0c9777543d44d0377fb467568cf4438b559cd1f8/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f536f6c6172253230446174652e706e673f7468656d653d6461726b267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6461726b2d63616c656e6461722f736f6c61722d686973746f72792d6c6962726172792d706870267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d536f6c61722b646174652b6c6962726172792b666f722b504850266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d63616c656e646172)Solar date library for php

Installing
==========

[](#installing)

run command :

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

use
===

[](#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
=======

[](#methods)

date
----

[](#date)

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

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~42 days

Recently: every ~100 days

Total

11

Last Release

675d ago

Major Versions

v1.9 → v2.02024-07-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e93cbe8942b4c92785450feb0da9e7e2a7346b9f8e7810379d59af3250200e6?d=identicon)[devnull-ir](/maintainers/devnull-ir)

---

Top Contributors

[![DevNull-IR](https://avatars.githubusercontent.com/u/97373457?v=4)](https://github.com/DevNull-IR "DevNull-IR (27 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dark-calendar-solar-history-library-php/health.svg)

```
[![Health](https://phpackages.com/badges/dark-calendar-solar-history-library-php/health.svg)](https://phpackages.com/packages/dark-calendar-solar-history-library-php)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
