symfony_persia/symfonyjdate
SymfonyJDate adds Persian (Jalali) date support to Symfony apps, with easy Gregorian-to-Jalali conversion and localized date formatting helpers for PHP and Twig. Integrate Persian dates quickly and consistently.
Consider it only when all of the following hold:
intl extension is unavailable or the Persian calendar is not exposed in your environment.DateTime breaks at 2038, and long-dated records matter.Look elsewhere when:
intl with fa_IR@calendar=persian, or a maintained library such as hekmatinasser/verta, morilog/jalali, or Carbon-based alternatives.Intl.DateTimeFormat with fa-IR often removes the server dependency entirely.For executives: This is a small, single-purpose library that lets a legacy Symfony2 app display dates in the Persian (Jalali) calendar and handle years past 2038. It is a low-cost enabler for Persian-speaking markets, but it is a stale asset — last released in 2015, built for an end-of-life framework, 10 GitHub stars, and no downstream users. Recommendation: do not adopt for new products. If a legacy app genuinely needs it, vendor the code, assign an internal owner, and pair it with a framework-migration plan. The strategic answer to Jalali dates is the platform's built-in intl/ICU Persian calendar or a maintained modern library.
For engineering: Treat this as a reference implementation, not a dependency. It is useful for confirming the conversion approach and the >2038 requirement, but its age, Symfony2 coupling, and zero adoption make it a maintenance liability. The actionable outcome is a decision record: Gregorian/UTC storage, locale-aware rendering, intl as the default path, and an explicit note on 32-bit/Y2K38 handling for long-dated product data.
How can I help you explore Laravel packages today?