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

Date Time Bundle Laravel Package

mohebifar/date-time-bundle

A Symfony bundle that provides date and time form types with picker integration, making it easier to add date/time inputs and handle DateTime values cleanly in PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Localization roadmap for non-Gregorian calendars. The bundle's real value to a PM is conceptual: it demonstrates the correct architectural seam for calendar localization — keep DateTime in the domain model, push calendar-aware formatting to the presentation layer, and expose date entry as a first-class form type. That is the pattern to cite when scoping a Persian/Jalali, Hijri, or other calendar-first market expansion, regardless of whether the code is adopted.
  • Build vs. buy for a shared date/time component. The bundled Datepicker FormType is a concrete argument that date-entry widgets and locale-aware formatting should be a reusable platform capability rather than something each feature team re-implements. Use it to justify funding a shared form-type / design-system investment instead of per-team date pickers.
  • Scoping a "regional formats" epic. Enumerate what a genuine feature requires — calendar conversion, locale-aware formatting, timezone handling, RTL input, and validation — and use this package as a gap-analysis checklist. It covers a thin slice (formatting + one widget on a dead framework), which helps size the real work honestly.
  • Dependency policy and adoption triage. With 16 stars, zero dependents, and a Symfony2-era footprint, this is a clean data point for ratifying a "no new dependencies on unmaintained packages" policy — and for documenting why it was rejected so the same evaluation isn't repeated.
  • Framework-fit decision (Laravel). If the product runs on Laravel, this package does not fit natively: it depends on symfony/form and bundle bootstrapping that Laravel does not use, so the Datepicker half is effectively dead code and installation risks composer conflicts with modern symfony/* components. The PM decision this drives is do not shortlist as a dependency; evaluate extraction or a maintained alternative instead.

When to Consider This Package

Consider it only if all of the following hold:

  • You are maintaining an existing Symfony 2.x application that already depends on this bundle and needs a formatting or datepicker fix with minimal blast radius.
  • Your calendar requirement is genuinely non-Gregorian and you cannot introduce a maintained alternative (e.g., an Intl/ICU-based formatter or a current calendar-conversion library).
  • You are reading the source as a reference implementation for how to wire a calendar-aware form type — a legitimate use even in greenfield work.

Look elsewhere in essentially every other case:

  • New builds, and any Laravel application. Symfony 2 is end-of-life; the framework is the blocker, and in Laravel the Symfony FormType and bundle plumbing have no native analogue. No amount of bundle quality fixes that.
  • Zero dependents and low stars means no community validation, no security response path, and no one to escalate to — your team, not upstream, becomes the maintainer.
  • Formatting is a solved problem. PHP's IntlDateFormatter and maintained calendar libraries (morilog/jalali, hekmatinasser/verta) cover locale-aware formatting and Gregorian↔Jalali conversion without a framework-specific coupling cost. Compare the cost of extracting this package's logic against simply adopting one of those — the package is only worth mining if it supports a calendar they do not.
  • The Datepicker FormType is the only differentiated part, and a form widget is the cheapest thing to build or vendor from a maintained UI library or a client-side datepicker.
  • Any roadmap item implying long-term support, SLAs, or compliance review — this package will not survive procurement or a security audit.

Net: the problem is real and worth a roadmap line; the package is not the vehicle.

How to Pitch It (Stakeholders)

To executives: This is a small, single-purpose Symfony2 bundle for rendering dates in non-Gregorian calendars and providing a matching datepicker field. It is a useful illustration of a real customer need — calendar localization for our target markets — but it is not a candidate for adoption: it targets an end-of-life framework, has negligible adoption, and carries no maintenance or security guarantees. It also does not fit our Laravel stack, where its form widget cannot run without pulling in Symfony components we don't use. Recommendation: treat it as research input, not a dependency, and fund a small platform-level date/time localization capability as part of the regional-expansion workstream.

To engineering: The design instinct is right — keep DateTime in the domain model, push calendar formatting to the presentation layer, and expose date entry as a first-class, reusable form component. Copy that separation; don't copy the code. If we greenfield this, we own it: use IntlDateFormatter for locale/calendar formatting, isolate calendar conversion behind an interface, write tests for leap years, month-length variation, and year boundaries, make timezone and locale explicit arguments, and ship the input widget as a client-side component wired through our shared front-end/Blade components. Compare the extraction spike (1–3 days to audit and isolate the pure conversion code) against adopting a maintained conversion library first; the budget is small and contained — this is a platform task, not a framework migration.

Risk statement in one line: Adopting this package converts a formatting problem into a maintenance and security-ownership problem on an EOL framework with no community and no Laravel fit — high cost, low upside.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource