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 Widget

Date Widget Laravel Package

friendsofvictoire/date-widget

friendsofvictoire/date-widget provides a lightweight, reusable date picker component for Laravel and PHP applications. Drop it into your Blade views to capture dates with minimal setup, consistent markup, and an easy-to-style input that fits neatly into existing forms.

View on GitHub
Deep Wiki
Context7

friendsofvictoire/date-widget is a lightweight PHP widget for rendering localized, human-friendly dates in your application. It wraps date formatting into a reusable component, so you can display dates and times consistently without repeating formatting logic across templates.

  • Locale-aware output with configurable date/time formats
  • Timezone support for accurate display across regions
  • Simple, reusable widget API for templates and views
  • Sensible defaults with easy customization
Frequently asked questions about Date Widget
Is friendsofvictoire/date-widget a Laravel package?
No. It is a Symfony bundle, FriendsOfVictoire/WidgetDateBundle, built as a widget for Victoire DCMS. It relies on Symfony bundle registration, dependency injection, Twig rendering, and Victoire widget contracts, not Laravel service providers or facades. A Laravel application has no natural insertion point for it.
Can I install friendsofvictoire/date-widget in a Laravel application?
You should not expect it to work in a Laravel application. There is no Laravel integration layer, and the package carries Symfony 2.x-era constraints that are likely to conflict with modern PHP and Symfony versions. If you need similar behavior, reimplement the date field and display using Laravel primitives rather than adapting this bundle.
What does the Victoire date widget actually do?
It adds a date picker field to Victoire CMS backend forms so editors can select single dates or date ranges through a localized interface. It plugs into Victoire's widget system and Symfony forms to keep date handling consistent across admin screens. It is a small UI and form component, not a general date library.
Which Laravel versions are supported by friendsofvictoire/date-widget?
None. The package is not a Laravel package, so it has no Laravel version constraints, service provider, config publishing, or framework-agnostic API. Any Laravel version support would require a separate native implementation. Do not plan Laravel upgrades around this dependency.
How do I replace this date widget in Laravel?
Document the widget's observable behavior: date input, storage shape, and rendering output. Then implement a Blade component or Livewire/Inertia field for input, an Eloquent date or datetime cast for persistence, and a Blade partial for display. That native approach is usually faster and safer than porting Symfony or Victoire semantics.
Is friendsofvictoire/date-widget maintained?
The available assessment indicates it is effectively abandoned. It has 1 GitHub star, 0 dependents, and a last release date of 2016-08-22, roughly nine years dormant. There is no active community or upstream security patching to rely on.
What are the production risks of using this package?
The main risks are undisclosed CVEs in the transitive Symfony 2.x dependency tree, Composer resolution failures against modern PHP and Symfony constraints, and no upstream security fixes. The widget's blast radius is small, but the legacy dependency surface it pulls in is not. It should not be added to a primary Laravel application.
Does friendsofvictoire/date-widget support date ranges and localized formats?
The package overview describes a clean, localized interface that lets editors select single dates or ranges. That is its intended Victoire CMS use case. It does not provide a documented Laravel API or standalone date-formatting service for Laravel applications.
What are Laravel-friendly alternatives to this Victoire date widget?
Use Laravel-native options such as Blade components, Livewire or Inertia form fields, and Eloquent date or datetime casts with Carbon formatting. If you need CMS-style authoring, evaluate maintained Laravel CMS or headless CMS packages instead of porting Victoire widget semantics. The requirement is a date picker or date display block, not this specific bundle.
How should I test or evaluate friendsofvictoire/date-widget safely?
Do not install it in your primary application. If evaluation must continue, isolate it in a throwaway container and expect to pin legacy PHP and Symfony versions, because Composer resolution may fail or force downgrades. For a Laravel roadmap, the safer action is to close the evaluation and re-scope the requirement against Laravel-native date handling.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons