NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2131 most downloaded on Packagist
Geocoder Service Provider for Laravel
Last release 3 months ago
23 Jun 2026
Release timing varies
gaps range from 2 weeks to 1.1 years
Some releases are documented
notes for 34 of 59 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
61 releases · first in 2013
🔐 untrack composer.lock, pin guzzlehttp/psr7, add CI audit gate by @mikebronner in #212
Full Changelog: 13.2.1...13.2.2
🐛 Leave null cache.serializable_classes untouched under Laravel 13 by @mikebronner in #211
Full Changelog: 13.2.0...13.2.1
One column per quarter.
✨ 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.
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.
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
🛡️ 13.2.0 — Laravel 13 cache compatibility
Compare
fix: 🐛 Self-heal cache when corrupted non-Collection value is detected. by @mikebronner in #207
Full Changelog: 13.1.0...13.1.1
🌍 Add fluent locale() method for localization with caching.
Full Changelog: 13.0.0...13.1.0
Laravel 13.x Compatibility by @laravel-shift in #205
Str::slug when building reverse geocoding cache key by @valentin-dufois in #204Full Changelog: 5.0.0...13.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
dummy Google Maps API key that was used for testing.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
getProvider() method to no longer be deprecated, and instead return the currently set provider, or if none set, the first configured provider.
getProvider() method to no longer be deprecated, and instead return the
currently set provider, or if none set, the first configured provider.functionality to not cache requests by using doNotCache().
doNotCache().Nothing published for this version
Nothing published for this version
### Added - Laravel 7 compatibility.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
initialization of geocoder adapter.
Nothing published for this version
Nothing published for this version
->toJson() method when querying results.
->toJson() method when querying results.Nothing published for this version
service provider to register singleton and alias in register() method.
register() method.class-name resolution from Service container, allowing for dependency injection.
work-around for missing config_path() function in Lumen.
config_path() function in Lumen.optional dedicated cache store.
### Added - Laravel 5.6 compatibility.
loading of GeoIP2 provider from within Chain provider.
environment variable configuration option in default config to set Google Maps Locale.
cache duration to work on 32-bit systems.
erroneous method getProvider() and marked it as deprecated.
getProvider() and marked it as deprecated.### Fixed - missing PSR-7 dependency.
Laravel 5.5 package auto-discovery.
Nothing published for this version
Nothing published for this version
Nothing published for this version
caching functionality for geocode() and reverse() methods.
geocode() and reverse() methods.cache-duration variable to geocoder config.Nothing published for this version
Nothing published for this version
Nothing published for this version
unit test for reverse-geocoding.
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 support
minimum Laravel requirement to 5.3.
ability to use multiple providers in addition to the chain provider #47.
geocode() and other methods.Geocoder\Laravel\....->all(), ->get(),
or ->dump()) after the respective command.- TBD
### Added - code of conduct message. - Laravel 5 compatibility [BC]. ### Updated - documentation.
the way to implode provider's arguments + unit tests.
### Updated - to use Geocoder 2.4.x.
support for Provider arguments (backwards-compatibility break).
to use singleton instead of share.
Your coding agent can read these notes before it upgrades. Set up the MCP server →