Skip to content

Releases: IPGeolocation/ip-geolocation-api-php

v3.0.0

08 Apr 10:09

Choose a tag to compare

What's new

  • Replaced the old generated multi-API SDK with the new PHP SDK for the IPGeolocation.io IP Location API.
  • Added typed and raw single lookup methods for /v3/ipgeo.
  • Added typed and raw bulk lookup methods for /v3/ipgeo-bulk.
  • Added request validation, metadata parsing, clearer error handling, and updated public docs.
  • Added unit tests, live integration tests, live field parity tests, and GitHub Actions CI.

Package

  • Packagist: ipgeolocation/ipgeolocation-php-sdk

v2.0.1

22 Jul 15:51

Choose a tag to compare

Added

  • Astronomy API Enhancements:
    • Introduced new fields: AstronomyMorning, AstronomyEvening.
    • Added support for elevation fields in the Astronomy response.

🛠️ Changed

  • Updated internal models and deserializers to accommodate new Astronomy fields.

📦 Notes

  • This release introduces breaking changes in Astronomy-related data structures — make sure to update your integration accordingly.

v2.0.0

03 Jul 11:55

Choose a tag to compare

Description

The IPGeolocation PHP SDK now fully supports the IPGeolocation API v2, offering enhanced modularity, expanded features, and improved request structure across all endpoints.

What's New

  • Support for all v2 APIs:
    • IP Geolocation
    • IP Security
    • ASN Lookup
    • Timezone (with conversion)
    • User Agent Parsing
    • Astronomy Data
    • Abuse Contact Lookup
  • Modular API classes introduced (IPGeolocationAPI, IPSecurityAPI, TimezoneAPI, ASNAPI, etc.)
  • Bulk request support for IP Geolocation, Security, and User Agent
  • Timezone lookup via lat/long, tz, ip, IATA, ICAO, and UN/LOCODE
  • Localized results via lang parameter (available for paid plans)
  • Fully documented response models and usage examples

Get your API key at ipgeolocation.io
Refer to the updated README for usage examples.