- How do I install jackiedo/timezonelist in Laravel?
- Install it with composer require jackiedo/timezonelist. Check the package composer.json for Laravel auto-discovery, because packages this small are sometimes helper-only and may need manual provider registration. Publish any config or views the package provides, then confirm the helper is available before using it in Blade.
- Does jackiedo/timezonelist support Laravel 11 and Laravel 12?
- Support is unlikely out of the box. The last release was in March 2022, so its illuminate/support constraint will probably block Composer on Laravel 11 or 12 unless you fork it or use dependency workarounds. Test on a scratch branch before assuming compatibility, and expect no upstream fix given the package age and small maintainer base.
- How do I create a timezone select box in Laravel with this package?
- The package generates a timezone list for a Laravel list box, typically consumed in a Blade form partial or a thin view composer. You call its helper to get an array or ready-to-use select options, then pass that data to your view. Keep the call at the edge of the application because it should not touch domain logic or persistence.
- Does jackiedo/timezonelist work with PHP 8.2 or 8.3?
- It may work functionally, but 2022-era packages often emit deprecation notices on PHP 8.2 and 8.3. Confirm against your actual PHP and Laravel matrix in a throwaway branch rather than relying on the README. If notices appear, an internal helper over DateTimeZone::listIdentifiers is a quick replacement.
- How do I filter timezones by continent or region with jackiedo/timezonelist?
- The package overview advertises filtering by continent or region, so you can limit the list to relevant zones. Verify the output shape and grouping in your app, because the API is small and the value is mostly formatting. If filtering is too limited, DateTimeZone::listIdentifiers with the ALL_WITH_BC flag gives you raw data to group yourself.
- Is jackiedo/timezonelist still maintained?
- No release has shipped since March 2022, and the maintainer pool is small, so treat abandonment risk as high. Timezone identifiers come from PHP's bundled tzdb, so correctness rot is low, but Composer constraint friction is likely. Do not expect an upstream fix for Laravel 11 or 12.
- What is the difference between jackiedo/timezonelist and a DateTimeZone helper?
- The package wraps timezone data in grouping, labels, and select-option formatting, whereas DateTimeZone::listIdentifiers returns the raw identifier list. That convenience is roughly 30 lines of internal code if you add caching and a Blade component. For a single form, the dependency often costs more than it saves.
- How do I test timezone list output from jackiedo/timezonelist in Laravel?
- Test the output you depend on, not the package internals: assert that your select contains expected option values and that grouping is stable. Cache the generated array in your own helper so tests do not rebuild it. There is no evidence of a substantial test suite or CI in this small package, so verify behavior yourself.
- Can I use jackiedo/timezonelist with Livewire or Inertia?
- The package is a server-side presentation helper, so with Livewire, Inertia, or a JavaScript-driven select you still have to serialize the list to the frontend. At that point it is only a data source, and the case for adding a dependency weakens. A cached internal helper that returns JSON is usually simpler.
- How do I replace or remove jackiedo/timezonelist without breaking call sites?
- Put your own facade or helper, such as App\Support\Timezones, in front of the package so call sites depend on your API rather than Jackiedo\Timezonelist. Then swap the implementation to DateTimeZone::listIdentifiers, run your form tests, and composer remove the package. Because the API surface is tiny, this is a short change rather than a major migration.