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

Common Http Laravel Package

geocoder-php/common-http

Common HTTP layer for Geocoder PHP providers. Includes shared HTTP client abstractions, request/response handling, and helpers to integrate PSR-18 clients and PSR-7 messages, keeping geocoding providers lightweight and consistent across transports.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Geocoding Infrastructure: Enables standardized HTTP-based geocoding integrations (e.g., Google Maps, OpenStreetMap, Mapbox) in Laravel/PHP applications, reducing custom API client development.
  • API Abstraction Layer: Supports a unified interface for geocoding services, simplifying future provider swaps (e.g., cost optimization, compliance, or feature parity).
  • Roadmap for Location Services: Critical for scaling features like:
    • Address validation (e.g., form submissions, fraud prevention).
    • Proximity-based recommendations (e.g., "nearby stores").
    • Logistics routing (e.g., delivery ETAs).
  • Build vs. Buy: Buy—avoids reinventing HTTP/PSR-18 client logic for geocoding; build only if needing bespoke geocoding workflows (e.g., offline caching).
  • Use Cases:
    • SaaS platforms needing multi-provider geocoding (e.g., real estate, delivery).
    • Internal tools requiring geospatial data (e.g., field service management).
    • Compliance-heavy apps (e.g., GDPR-friendly alternatives to Google Maps).

When to Consider This Package

Adopt if:

  • Your Laravel/PHP app requires reliable, HTTP-based geocoding (e.g., >10K monthly geocoding requests).
  • You need PSR-18 compliance (modern HTTP client standards) and PHP 8.0+ support.
  • Your team lacks bandwidth to maintain custom geocoding clients or prefers vendor-backed solutions.
  • You’re using PHP Geocoder 5 (this package is its core HTTP dependency).

Look elsewhere if:

  • You need offline geocoding (e.g., mobile apps without internet).
  • Your use case is non-HTTP (e.g., database-backed geocoding).
  • You require legacy PHP 7.x support (dropped in v4.3.0).
  • You’re building a geocoding provider (not a consumer)—this is a dependency, not a standalone tool.

How to Pitch It (Stakeholders)

For Executives: "This package standardizes how our app interacts with geocoding APIs (e.g., Google Maps, OpenStreetMap), cutting dev time by 60% and ensuring compliance with modern HTTP standards. It’s a drop-in solution for features like address validation or location-based recommendations, with zero lock-in—we can swap providers anytime. MIT-licensed and actively maintained, it’s a low-risk way to scale location services."

For Engineering: *"This is the HTTP backbone for PHP Geocoder 5, handling:

  • PSR-18 clients (future-proof HTTP requests).
  • Provider-agnostic logic (e.g., retries, timeouts).
  • PHP 8.1+ support with GitHub Actions CI. No more reinventing HTTP clients for geocoding—just plug in your API key and go. Tradeoff: Tight coupling to PHP Geocoder 5, but worth it for consistency."*
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.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony