jamesmills/laravel-timezone
Laravel Timezone detects each visitor's timezone in the browser and stores it in the session, automatically applying it to your app for accurate date and time display. Includes a Blade directive, middleware, and configurable settings.
Consider it when:
composer.json requirements against your framework version before committing).Look elsewhere or plan to fork/build in-house when:
For executives: This is a small, free (MIT), low-effort capability that makes the product feel local for customers outside our home timezone. It improves trust in schedules and notifications, reduces timezone-related support tickets, and removes a blocker for international growth. It is reversible and inexpensive. Recommendation: approve a short engineering spike to confirm framework compatibility and a maintenance plan (fork or native reimplementation if needed), then ship as part of the localization workstream. Success can be measured by reduced timezone-related support contacts and improved onboarding completion.
For engineering: The package provides a thin middleware that sets the request's default timezone from the user's stored preference, with minimal surface area. Integration is small, but the 2018 release date means we should verify version constraints and expect to vendor or fork the pattern rather than rely on upstream maintenance. The fallback is a small internal implementation using Carbon, which we control entirely. Either path is low risk; the only decision is whether to adopt, fork, or rebuild.
How can I help you explore Laravel packages today?