arcasolutions/google-map
Laravel package providing Google Maps integration for your app, with helpers to generate map views and include the required scripts. Useful for quickly embedding maps and configuring markers or map options within Laravel projects.
use Ivory\GoogleMap\Services\Geocoding\GeocoderRequest;
$request = new GeocoderRequest();
// Set address
$request->setAddress('1600 Amphitheatre Parkway, Mountain View, CA');
// Or set coordinate (reverse geocoding)
$request->setCoordinate(1.1, 2.1, true);
$request->setBound(-1.1, -2.1, 2.1, 1.1, true, true);
$request->setRegion('en');
$request->setLanguage('en');
$request->setSensor(false);
If you set an address & a coordinate, address takes precedence over coordinate.
use Ivory\GoogleMap\Services\Geocoding\GeocoderRequest;
$request = new GeocoderRequest();
// Geocode your request
$response = $geocoder->geocode($request);
How can I help you explore Laravel packages today?