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

Polyfill Form Dti Laravel Package

ruwork/polyfill-form-dti

A lightweight compatibility polyfill that brings DateTimeImmutable support to Symfony Form date and time types on older framework versions, letting you use immutable date/time form fields without upgrading Symfony.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Unchanged and still poor for a standard Laravel application. Laravel does not use Symfony Form as its form/rendering layer; it uses Blade, request validation, Eloquent casts, and its own validation pipeline. Release 0.2.1 only widens a Composer constraint (symfony/* >=4.1) and adds no Laravel-facing surface: no service provider, config, Blade directive, validation rule, or Eloquent cast. It therefore remains relevant only to a Laravel app that deliberately embeds Symfony Form or maintains legacy Symfony forms.
  • Integration feasibility: Marginally improved at the dependency-resolution layer, not at the integration layer. Version 0.2.1 explicitly targets installability against Symfony >=4.1 "without conflicts," which removes a likely historical blocker for projects pinned to older Symfony components. That is a Composer-level fix only — there is still no framework glue code, so a Laravel team would still write the adapter, rendering, and validation themselves. Copying the MIT-licensed approach into a native component remains more practical than adding the dependency.
  • Technical risk: Still high, though no longer "frozen since 2018." A 0.2.1 release demonstrates the package is not fully abandoned and that someone is responding to install failures, which slightly improves the security-response and compatibility outlook. However: 1 star, 0 dependents, a maintenance signal limited to a single constraint-widening change with no feature work, tests, or modernization evidence, and no statement about supported PHP or Laravel versions. Date/time handling also carries inherent risk around time zones, DST, immutable-vs-mutable values, browser input behavior, and validation alignment.
  • Key questions: What exact behavior is required: HTML5 datetime input rendering, DateTimeImmutable form mapping, or both? Which Laravel, PHP, and Symfony Form versions must be supported, and does the widened >=4.1 constraint actually resolve cleanly against this app's Symfony 6/7 components (an open-ended lower bound can allow installs that were never tested)? Does the package register a Symfony Form type extension/bundle, and would that conflict with Laravel's Symfony components? Is there a maintained native Symfony feature that supersedes it? Can the behavior be implemented with a Blade component plus CarbonImmutable/DateTimeImmutable casts? Who owns a fork if adopted, and what is the exit plan if 0.2.1 proves to be the last release?

TPM recommendation: Do not adopt as a production dependency for Laravel. Treat it as a reference implementation for a small native Blade/validation solution, unless a legacy Symfony Form workflow must be preserved. The 0.2.1 constraint widening is a positive signal worth noting, but it does not change the architecture fit, the absence of Laravel integration, or the ownership burden.

Integration Approach

  • Stack fit: Unchanged — weak. Laravel's native stack should use Blade datetime-local inputs, Laravel validation rules such as date/after/before, and CarbonImmutable or DateTimeImmutable casts. Release 0.2.1 does not touch Laravel's form model, validation, or persistence layers.
  • Migration path: Unchanged. For an existing Symfony Form workflow embedded in Laravel, isolate the package behind an adapter and avoid leaking it into application code. For standard Laravel forms, replace the need with a custom Blade component or form macro. If the package is already present, plan removal during the next framework/PHP upgrade rather than extending its use.
  • Compatibility: Slightly better than the prior assessment. The 0.2.1 release exists specifically to allow installation with Symfony >=4.1 without conflicts, so the old "likely constrained to older Symfony/PHP" objection is less absolute. Still verify Composer constraints before any spike: the constraint is a lower bound, not a tested support matrix, and there is no evidence of validation against Symfony 6/7 or PHP 8.2+. Do not add it globally to a Laravel composer manifest without a dry-run and an isolated proof.
  • Sequencing: 1) Confirm the requirement is truly Symfony Form-related. 2) Re-run composer require --dry-run on the current 0.2.1 tag in a throwaway branch — this is now the cheapest test and may pass where it previously failed. 3) Prototype only in an isolated module if legacy Symfony Form compatibility is mandatory. 4) Otherwise implement the behavior natively in Blade plus Laravel validation/casts. 5) Add tests for timezone/DST, immutable value handling, browser rendering, and validation. 6) Pin to 0.2.1 or fork only if adoption is unavoidable, with an explicit retirement plan.

Operational Impact

  • Maintenance: Still a high ownership burden for a low-value dependency. One constraint-widening release after a long gap is a maintenance floor, not a maintenance commitment: expect further PHP/Symfony deprecation issues with no predictable cadence. MIT licensing permits a fork, but then the team owns compatibility, testing, and security triage.
  • Support: No active community, vendor, or documentation investment is evident, and 0.2.1 ships no guidance on supported versions. Defect resolution would depend on internal Symfony Form expertise. Still a poor support profile for a production Laravel dependency, marginally offset by evidence that someone merges compatibility fixes.
  • Scaling: Runtime scaling impact remains negligible — the package affects form rendering/type behavior rather than data-plane throughput. Operational scaling risk stays concentrated in upgrade friction and browser/date-time edge cases. One new consideration: an open-ended >=4.1 constraint can silently permit future untested Symfony majors, so version pinning becomes more important, not less.
  • Failure modes: Composer dependency conflicts during Laravel/Symfony upgrades (reduced but not eliminated by 0.2.1 — the constraint widens the accepted range without proving compatibility); PHP 8+ deprecations or fatal errors; form type extension not registered; incorrect or unsupported HTML input rendering; timezone/DST conversion bugs; mutable/immutable value mismatches; validation and UI disagreement; accessibility and cross-browser inconsistencies.
  • Ramp-up: Unchanged — low code volume but niche Symfony Form internals. Laravel developers will spend more time understanding the package's integration assumptions than implementing a native Blade/validation equivalent. Ramp-up is only justified for legacy Symfony Form preservation, not for new Laravel feature work.
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.
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator