Weave Code
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

Geocoder Laravel Laravel Package

toin0u/geocoder-laravel

View on GitHub
Deep Wiki
Context7
13.2.0

Added

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: https://github.com/geocoder-php/GeocoderLaravel/compare/13.1.1...13.2.0

13.1.1

Fixed

Full Changelog: https://github.com/geocoder-php/GeocoderLaravel/compare/13.1.0...13.1.1

13.1.0

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: https://github.com/geocoder-php/GeocoderLaravel/compare/13.0.0...13.1.0

13.0.0

Added

New Contributors

Full Changelog: https://github.com/geocoder-php/GeocoderLaravel/compare/5.0.0...13.0.0

5.0.0

Added

  • Laravel 12 compatibility. Thanks @laravel-shift!
  • GeoCoder 5 compatibility.

Note: I haven't been able to run tests on this package as of late. Please report back if you notice issues. I thought it was important to get the update out so people aren't blocked, and will work on updating the tests over time.

4.7.0

Added

4.6.0

Added

  • Laravel 10 compatibility.
4.5.1

Removed

  • dummy Google Maps API key that was used for testing.
4.5.0

Added

4.4.6

Changed

  • dependencies to accommodate up-to-date versions.
4.4.5

Added

  • clearing of empty items from cache using cache store name.
4.4.4

Added

  • explicit PHP 8 support.

Reverted

  • previous changes back, so that when the dependencies do support PHP 8, this package will be ready.
4.4.3

WIP

4.4.2

Adding

  • temporary support for PHP 8 until the dependencies officially support it.
4.4.1

Fixed

  • TravisCI configuration.
4.4.0

Added

  • Laravel 8 compatibility.
4.3.4

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.
4.3.3

Added

  • functionality to not cache requests by using doNotCache().
4.3.2

Changed

  • region code in provided config file from "en-US" to "us".
4.3.1

Updated config and readme to correctly indicate cache is measured in seconds, rather than minutes.

4.3.0

Added

  • Laravel 7 compatibility.
4.2.4

Changed

  • configuration setting for reader to use array-notation, to allow config caching. Thanks @tooblue !
4.2.3

Fixes

  • logger instantiation to not add logger if it doesn't exist.
4.2.2

Added

  • logger injection in chain provider.
4.2.1

Added

  • Laravel 6.1 compatibility.
4.2.0

Added

  • Laravel 6.0 compatibility.
4.1.2

Fixed

  • initialization of geocoder adapter.
4.1.1

Added

  • Guzzle HTTP Response Factory out of the box, thanks @trippo for reporting that.

Removed

  • string helper methods to future-proof things, as they are deprecated, thanks @nmfzone for submitting that PR!
4.1.0

Added

  • Laravel 5.8 compatibility.
4.0.21

Added

  • ->toJson() method when querying results.
4.0.20

Added

  • Laravel 5.7 compatibility.
4.0.10

Changed

  • service provider to register singleton and alias in register() method.
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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle