PackageTrack
Sign in Get early access

toin0u/geocoder-laravel

Geocoder Service Provider for Laravel

13.2.2 5.6M downloads/mo #2251 most downloaded on Packagist geocoder-php/GeocoderLaravel

What this package is like to depend on

Last release 2 months ago

23 Jun 2026

Release timing varies

gaps range from 2 weeks to 1.1 years

Some releases are documented

notes for 33 of 59 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

61 releases · first in 2013

6 releases in the last 12 months

see the full history below

Release timeline

61 releases · Sep 2013 to Jun 2026
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 60 of 61
  1. 13.2.2 23 Jun 2026
    Release notes

    Fixed

    • 🔐 untrack composer.lock, pin guzzlehttp/psr7, add CI audit gate by @mikebronner in #212

    Full Changelog: 13.2.1...13.2.2

    Open source →
  2. 13.2.1 30 May 2026
    Release notes

    Fixed

    • 🐛 Leave null cache.serializable_classes untouched under Laravel 13 by @mikebronner in #211

    Full Changelog: 13.2.0...13.2.1

    Open source →
  3. 13.2.0 19 May 2026
    Release notes

    Added

    • ✨ Auto-register Geocoder model classes for Laravel 13 cache serialization. by @mikebronner in #209

    Laravel 13 introduced cache.serializable_classes as a security hardening measure, defaulting to false to block deserialization of arbitrary PHP objects from the cache. This silently broke caching for any Laravel 13 user — geocoder results round-trip as Collections of Address objects, which the hardened default refuses to deserialize.

    This release makes Laravel 13 caching work seamlessly without requiring you to maintain an allow-list.

    ⚠️ Behavior change worth noting

    If you're on Laravel 13 and have deliberately set cache.serializable_classes to a strict allow-list (or []) for security reasons, this release will merge the Geocoder model classes into your list at boot. The merge preserves your existing entries — but it does expand the allow-list beyond what you set.

    If you want to keep your allow-list strictly under your own control:

    // config/geocoder.php
    'cache' => [
        // ...
        'auto_register_serializable_classes' => false,
    ],

    When opted out, you have two coherent paths — see the README's Laravel 13 cache.serializable_classes section for the trade-offs.

    🔧 Upgrade

    Pure composer update. No required config changes, no API breakage, no migrations.

    Laravel 11 / 12 users: this release is functionally inert for you — the new config key is a no-op on framework versions that don't use cache.serializable_classes.
    `

    Full Changelog: 13.1.1...13.2.0

    Open source →
  4. 13.1.1 18 May 2026
    Release notes

    Fixed

    • fix: 🐛 Self-heal cache when corrupted non-Collection value is detected. by @mikebronner in #207

    Full Changelog: 13.1.0...13.1.1

    Open source →
  5. 13.1.0 22 Apr 2026
    Release notes

    Added

    • 🌍 Add fluent locale() method for localization with caching.
    • 🔧 Resolve container-bound providers instead of via reflection.
    • 🔧 Allow adapter configuration via config file.

    Full Changelog: 13.0.0...13.1.0

    Open source →
  6. 13.0.0 18 Apr 2026
    Release notes

    Added

    New Contributors

    Full Changelog: 5.0.0...13.0.0

    Open source →
  7. 5.0.0 06 Mar 2025

    Nothing published for this version

  8. 4.7.0 14 Mar 2024

    Nothing published for this version

  9. 4.6.0 16 Feb 2023

    Nothing published for this version

  10. 4.5.1 10 Feb 2022
    Release notes

    Removed

    • dummy Google Maps API key that was used for testing.
    Open source →
  11. 4.5.0 10 Feb 2022

    Nothing published for this version

  12. 4.4.6 06 Dec 2021

    Nothing published for this version

  13. 4.4.5 01 Nov 2021

    Nothing published for this version

  14. 4.4.4 02 Dec 2020

    Nothing published for this version

  15. 4.4.2 02 Dec 2020

    Nothing published for this version

  16. 4.4.1 09 Sep 2020

    Nothing published for this version

  17. 4.4.0 09 Sep 2020

    Nothing published for this version

  18. 4.3.4 21 Jun 2020
    Release notes

    Fixed

    • non-caching declaration to only apply to current query.
    • caching to take provider into account.

    Changed

    • getProvider() method to no longer be deprecated, and instead return the currently set provider, or if none set, the first configured provider.
    Open source →
  19. 4.3.3 20 Jun 2020
    Release notes

    Added

    • functionality to not cache requests by using doNotCache().
    Open source →
  20. 4.3.2 16 Apr 2020

    Nothing published for this version

  21. 4.3.1 01 Apr 2020

    Nothing published for this version

  22. 4.3.0 29 Feb 2020
    Release notes

    Added

    • Laravel 7 compatibility.
    Open source →
  23. 4.2.4 17 Oct 2019

    Nothing published for this version

  24. 4.2.3 15 Oct 2019

    Nothing published for this version

  25. 4.2.2 02 Oct 2019

    Nothing published for this version

  26. 4.2.1 02 Oct 2019

    Nothing published for this version

  27. 4.2.0 29 Aug 2019

    Nothing published for this version

  28. 4.1.2 23 May 2019
    Release notes

    Fixed

    • initialization of geocoder adapter.
    Open source →
  29. 4.1.1 12 Mar 2019

    Nothing published for this version

  30. 4.1.0 04 Mar 2019

    Nothing published for this version

  31. 4.0.21 03 Nov 2018
    Release notes

    Added

    • ->toJson() method when querying results.
    Open source →
  32. 4.0.20 14 Sep 2018

    Nothing published for this version

  33. 4.0.10 01 Jul 2018
    Release notes

    Changed

    • service provider to register singleton and alias in register() method.
    Open source →
  34. 4.0.9 28 May 2018
    Release notes

    Added

    • class-name resolution from Service container, allowing for dependency injection.
    Open source →
  35. 4.0.8 25 Mar 2018
    Release notes

    Added

    • work-around for missing config_path() function in Lumen.
    Open source →
  36. 4.0.7 25 Mar 2018
    Release notes

    Added

    • optional dedicated cache store.
    • hashed cache keys and hash collision prevention.
    • custom cache store configuration instructions.
    Open source →
  37. 4.0.6 09 Feb 2018
    Release notes

    Added

    • Laravel 5.6 compatibility.
    Open source →
  38. 4.0.5 14 Jan 2018
    Release notes

    Fixed

    • loading of GeoIP2 provider from within Chain provider.

    Changed

    • unit testing to use Orchstral Testbench.
    Open source →
  39. 4.0.4 27 Dec 2017
    Release notes

    Added

    • environment variable configuration option in default config to set Google Maps Locale.
    • documentation comments in configuration file.

    Changed

    • composer dependency version constraints for Laravel to be within a specific range, instead of open-ended.
    Open source →
  40. 4.0.3 27 Oct 2017
    Release notes

    Fixed

    • cache duration to work on 32-bit systems.
    • geocoder to not cache if no results are provided.
    Open source →
  41. 4.0.2 03 Sep 2017
    Release notes

    Fixed

    • erroneous method getProvider() and marked it as deprecated.
    Open source →
  42. 4.0.1 07 Aug 2017
    Release notes

    Fixed

    • missing PSR-7 dependency.
    Open source →
  43. 4.0.0 03 Aug 2017
    Release notes

    Added

    • Laravel 5.5 package auto-discovery.

    Fixed

    • typo which caused cache to be in-effective.

    Changed

    • implemented geocoder-php 4.0.0.
    • version to 4.0.0 instead of 2.0.0 to maintain major version parity with parent package.
    • composer dependencies to release versions.
    • unit tests to pass.
    • updated readme with some clarifying notes. May have to completely rewrite it if it ends up being unclear.
    Open source →
  44. 2.0.0-RC1 18 Jun 2017 pre-release

    Nothing published for this version

  45. 1.1.2 13 Jul 2017

    Nothing published for this version

  46. 1.1.1 22 Jun 2017

    Nothing published for this version

  47. 1.1.0 18 Jun 2017
    Release notes

    Added

    • caching functionality for geocode() and reverse() methods.
    • cache-duration variable to geocoder config.
    Open source →
  48. 1.0.5 12 May 2017

    Nothing published for this version

  49. 1.0.4 12 May 2017

    Nothing published for this version

  50. 1.0.3 20 Mar 2017

    Nothing published for this version

  51. 1.0.2 20 Mar 2017
    Release notes

    Added

    • unit test for reverse-geocoding.
    Open source →
  52. 1.0.1 31 Jan 2017
    Release notes

    Removed

    • minimum Laravel requirement of 5.3 (reverted back to 5.0, just in case it was working for someone, but only Laravel 5.3 and 5.4 are officially supported).
    Open source →
  53. 1.0.0 31 Jan 2017
    Release notes

    Changed

    • minimum Laravel requirement to 5.3.
    Open source →
  54. 1.0.0-RC1 14 Oct 2016 pre-release
    Release notes

    Added

    • ability to dump results #16.
    • ability to use multiple providers in addition to the chain provider #47.
    • more integration tests.
    • special aggregator that allows chaining of geocode() and other methods.

    Changed

    • README documentation.
    • to use Geocoder 3.3.x.
    • namespace to Geocoder\Laravel\....
    • service provider to auto-load the facade.
    • config file format.
    • geocoding commands necessary to obtain results (must use ->all(), ->get(), or ->dump()) after the respective command.
    • the service provider architecture.

    Fixed

    • MaxMindBinary Provider being instantiated with an Adapter #24.
    • GeoIP2 Provider being instantiated with a generic Adapter.
    Open source →
  55. 0.6.0 10 Jul 2015

    Nothing published for this version

  56. 0.5.0 11 Mar 2015
    Release notes

    Added

    • code of conduct message.
    • Laravel 5 compatibility [BC].

    Updated

    • documentation.
    Open source →
  57. 0.4.1 23 Jun 2014
    Release notes

    Fixed

    • the way to implode provider's arguments + unit tests.
    Open source →
  58. 0.4.0 13 May 2014
    Release notes

    Updated

    • to use Geocoder 2.4.x.
    Open source →
  59. 0.3.0 12 May 2014
    Release notes

    Added

    • support for Provider arguments (backwards-compatibility break).
    Open source →
  60. 0.2.0 16 Nov 2013
    Release notes

    Added

    • config file.

    Updated

    • to use Geocoder 2.3.x.
    • to use singleton instead of share.
    • tests.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive