aamant/distance

calculating the distance between differents points

Maintainers

Package info

github.com/aamant/distance

pkg:composer/aamant/distance

Statistics

Installs: 43

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.1 2014-04-17 14:45 UTC

This package is not auto-updated.

Last update: 2026-03-10 14:13:54 UTC


README

Calculating the distance between differents points

Installation

Just create a composer.json file for your project:

{
    "require": {
        "aamant/distance": "@stable"
    }
}

Usage

$distance = new Distance(
	new GoogleMapProvider(new CurlHttpAdapter, 'fr-FR', GoogleMapProvider::MODE_BICYCLING));
$result = $distance->distance(array('montpellier'), array('paris', 'perpignan', 'lyon'));