2017 © Pedro Peláez
 

library geohash

geohash package

image

fnull/geohash

geohash package

  • Tuesday, July 17, 2018
  • by fnull
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Geohash

Build Status, (*1)

Simple php geohash class, (*2)

Install

You may install Geohash with Composer (recommended) or manually., (*3)

require: {
    "geohash/geohash": "dev-master"
}

Usage

Encode a coordinates:, (*4)

<?php
require "vendor/autoload.php";

use Geohash\Geohash;

echo Geohash::encode(31.283131, 121.500831); // wtw3uyfjqw61

Decode a geohash:, (*5)

<?php
require "vendor/autoload.php";

use Geohash\Geohash;

list($lat, $lng) = Geohash::decode('wtw3uyfjqw61');
echo $lat, ', ', $lng; // 31.283131, 121.500831

The Versions

17/07 2018

dev-master

9999999-dev https://github.com/lun/geohash

geohash package

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar thbourlove

geohash

17/07 2018

1.0

1.0.0.0 https://github.com/lun/geohash

geohash package

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar thbourlove

geohash