Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfonyjdate Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Localization / market-entry roadmap: Whether to ship Persian (Jalali/Shamsi) date display for users in Iran, Afghanistan, and Persian-speaking diaspora segments — and whether that is a launch blocker or a post-launch enhancement.
  • Build vs. buy on calendar logic: Jalali conversion is deceptively non-trivial (leap-year rules, 33-year cycles, month lengths); this package is a candidate "borrow" rather than a from-scratch build.
  • Date-handling architecture decisions: Whether product dates (billing cycles, subscription renewals, report periods, deadlines, contract/legal document dates) are stored as UTC Gregorian and rendered per-locale, versus stored/displayed in Jalali.
  • Y2K38 / long-horizon planning: For products with 10–20+ year horizons (insurance, pensions, utilities, government-adjacent records), whether the date layer supports years beyond 2038 — this package explicitly targets that.
  • Legacy platform strategy: If a product still runs Symfony2, this informs the "freeze, patch, or migrate" decision for that application, and whether calendar features are worth investing in before a framework upgrade.
  • Compliance and document formatting: Whether user-facing documents (invoices, statements, certificates) must show Shamsi dates to meet local expectation or regulation.
  • Prioritization signal: With 10 stars, zero dependents, and no release since 2015, this package's low score (0.2) argues for treating Jalali support as a capability to source differently, not a dependency to standardize on.

When to Consider This Package

Consider it only when all of the following hold:

  • You maintain a Symfony2 application (or a similarly old Symfony/PHP stack) that you cannot migrate in the near term.
  • You need Jalali date output without ICU/intl — e.g., the intl extension is unavailable or the Persian calendar is not exposed in your environment.
  • You are on a 32-bit PHP runtime or a legacy timestamp path where native DateTime breaks at 2038, and long-dated records matter.
  • The integration surface is small and you are willing to vendor/fork the code and own it internally.

Look elsewhere when:

  • You are building on Symfony 5/6/7 or modern PHP 8+ — use intl with fa_IR@calendar=persian, or a maintained library such as hekmatinasser/verta, morilog/jalali, or Carbon-based alternatives.
  • You need an actively maintained, security-reviewable, audited dependency — this package has had no release since March 2015 and depends on an EOL framework.
  • You need timezone/DST correctness, multi-calendar support (Jalali + Hijri + Gregorian), or Carbon interop — this is a narrow, single-purpose package.
  • Your organization requires vendor support, SLAs, or a clear maintainer — single-maintainer, near-zero-adoption projects fail procurement and risk review.
  • The need is purely display formatting in a browser/UI — client-side Intl.DateTimeFormat with fa-IR often removes the server dependency entirely.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums