---
title: "Requirements — Geolocation for Laravel | Roundly"
description: "PHP 8.4+, Laravel 12 or 13, ext-zlib and ext-phar, plus credentials only for the HTTP providers you enable."
url: https://roundly-consulting.com/open-source/docs/geolocation-for-laravel/requirements
language: en
---

[All packages](https://roundly-consulting.com/open-source.md)

[Geolocation for Laravel](https://roundly-consulting.com/open-source/docs/geolocation-for-laravel.md)

# Requirements

- PHP 8.4+
- Laravel 12 or 13
- ext-zlib and ext-phar — used by geolocation:db:update to unpack the MaxMind archive
- Credentials only for the providers you use: a Google Maps API key with the Geocoding API and the Routes API enabled, an IP2Location.io key, a MaxMind account and license key, and optionally an IPinfo token

Composer also installs three small Roundly packages the geolocation layer builds on: package-toolkit-for-laravel (service provider, about section, the retry-after contract), enums-for-laravel (helpers on DistanceType and GeolocationType) and http-client-rate-limits-for-laravel (per-provider pacing). No vendor SDKs — every call goes through Laravel’s own HTTP client, and the MaxMind reader is native.

## Show your open-source love

This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.

[More ways to support, including crypto](https://roundly-consulting.com/support-us.md)

By donating, you agree to our [donation terms](https://roundly-consulting.com/donation-terms.md).

[Support our open source work (opens in a new tab)](https://donate.stripe.com/dRmeVe8FX5PF1Qd9pXcEw00) [Join us on Patreon (opens in a new tab)](https://www.patreon.com/cw/roundly)

## Want this built into your product?

We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.

[Get a quote in 48 hours](https://roundly-consulting.com/contact.md) [Browse all packages](https://roundly-consulting.com/open-source/docs/geolocation-for-laravel.md)
