Download the PHP package snezhkoigor/map without Composer
On this page you can find all versions of the php package snezhkoigor/map. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download snezhkoigor/map
More information about snezhkoigor/map
Files in snezhkoigor/map
Package map
Short Description A development package for all map providers
License MIT
Informations about the package map
Geocode for Laravel
Requirements
- PHP >= 7.1.3
- Laravel >= 5.6
Installation
-
Install the package via composer:
- If you are running Laravel 5.5 (the package will be auto-discovered), skip
this step. Find the
providers
array key inconfig/app.php
and register the Map Service Provider:
Providers
By default, the configuration specifies a Chain provider, containing the GoogleMaps provider for addresses as well as reverse lookups with lat/long.
However, you are free to add or remove providers as needed, both inside the Chain provider, as well as along-side it. The following is the default configuration provided by the package:
Supported Providers
- Yandex
Customization
If you would like to make changes to the default configuration, publish and edit the configuration file:
Usage
The service provider initializes the map
service, accessible via the
facade Map::...
or the application helper app('map')->...
.
Build route
Result would be Collection of Coordinate class:
Dumpers
Package provides dumpers that aim to transform a some object in standard formats.
Supported Dumpers
- Keyhole Markup Language (KML). Keyhole Markup Language is an XML notation for expressing geographic annotation and visualization within Internet-based, two-dimensional maps and three-dimensional Earth browsers.
All versions of map with dependencies
guzzlehttp/guzzle Version ~6.0
illuminate/support Version 5.0 - 5.8
ext-json Version *