geocoder-php/arcgis-online-provider
ArcGIS Online provider for the PHP Geocoder library. Adds geocoding and reverse geocoding via ArcGIS Online services, including support for authentication and provider configuration. Suitable for integrating ArcGIS address lookup into PHP apps.
arcgis-online-provider package (v4.5.0) remains a niche but high-value solution for Laravel applications requiring ArcGIS Online geocoding, particularly for enterprise-grade geospatial workflows (e.g., logistics, real estate, or location-based services). No changes to core use case alignment.Spatie\Geo\Traits\HasCoordinates).geocoder-php cache providers remains required.BatchHandler) remains necessary..env or Vault).| Risk Area | Severity | Mitigation | Update for v4.5.0 |
|---|---|---|---|
| ArcGIS API Rate Limits | High | Retries (Guzzle middleware) + caching. Monitor usage via ArcGIS dashboard. | No change. |
| Authentication Leaks | Critical | .env + encryption for API keys. Rotate keys periodically. |
No change. |
| Data Schema Mismatches | Medium | Validate responses against Laravel models (e.g., casts). |
No change. |
| Vendor Lock-in | Medium | Abstract ArcGIS calls behind a service interface. | No change. |
| Performance Bottlenecks | High | Benchmark API calls; consider PostGIS for offline use. | No change. |
| New: Deprecation Risks | Medium | Monitor geocoder-php and ArcGIS API deprecations. |
Added due to lack of changelog transparency. |
composer require geocoder-php/arcgis-online-provider:^4.5.0.AppServiceProvider; store API key in .env.composer.json to avoid unintended updates:
"geocoder-php/arcgis-online-provider": "4.5.0"
CHANGELOG.md for hidden breaking changes (if any).4.5.0 in composer.json to avoid unintended updates./geocode in favor of /geocode/v2).spatie/fractal) to fail fast on ArcGIS outages.Key Update: While the package appears functionally unchanged, the lack of transparency in v4.5.0’s changelog introduces deprecation risk. Recommend:
4.5.0 explicitly.How can I help you explore Laravel packages today?