PHPackages                             mucts/geohash - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mucts/geohash

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mucts/geohash
=============

GeoHash LBS地理位置距离计算方法geohash，将一个经纬度信息，转换成一个可以排序，可以比较的字符串编码，用于高效搜索

1.1.1(5y ago)1653MITPHPPHP ^7.2

Since Apr 21Pushed 5y agoCompare

[ Source](https://github.com/mucts/geohash)[ Packagist](https://packagist.org/packages/mucts/geohash)[ RSS](/packages/mucts-geohash/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (10)Used By (0)

[![](https://camo.githubusercontent.com/e27473a2cc76c25e71f47614427ff9e36425423a903be0290741a035ed26d42b/68747470733a2f2f696d616765732e6d756374732e636f6d2f696d6167652f6578705f6465665f77686974652e706e67)](https://camo.githubusercontent.com/e27473a2cc76c25e71f47614427ff9e36425423a903be0290741a035ed26d42b/68747470733a2f2f696d616765732e6d756374732e636f6d2f696d6167652f6578705f6465665f77686974652e706e67)

 [![Build Status](https://camo.githubusercontent.com/8fc5e6a285b3255a512e20292ee4faefaed51002926f4961153f3fd5baa57cff/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d756374732f67656f686173682f6261646765732f6275696c642e706e67)](https://scrutinizer-ci.com/g/mucts/geohash) [![Code Intelligence Status](https://camo.githubusercontent.com/15b18e6d67de4c15af0c7c267209ae4e813a69479e9103c6cf9af01fd8aa4abc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d756374732f67656f686173682f6261646765732f636f64652d696e74656c6c6967656e63652e737667)](https://scrutinizer-ci.com/g/mucts/geohash) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/64af78f0c22598c81cd548d288efb592f9b39ecc97444dd66cfaf0059c97fc4f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d756374732f67656f686173682f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/mucts/geohash) [![Total Downloads](https://camo.githubusercontent.com/85a3560b12e3f7dadb18894d5239fa4b80da6e612ec710898ca6ca1d9b09a541/68747470733a2f2f706f7365722e707567782e6f72672f6d756374732f67656f686173682f642f746f74616c2e737667)](https://packagist.org/packages/mucts/geohash) [![Latest Stable Version](https://camo.githubusercontent.com/0308dddb8764a81d3b85fb0e159fc19092043ac14e8e3b95ca048d1906e0e5db/68747470733a2f2f706f7365722e707567782e6f72672f6d756374732f67656f686173682f762f737461626c652e737667)](https://packagist.org/packages/mucts/geohash) [![License](https://camo.githubusercontent.com/620635bc972624835735964a5f11c848a66902f5f8fa8c352b3a297677a7416e/68747470733a2f2f706f7365722e707567782e6f72672f6d756374732f67656f686173682f6c6963656e73652e737667)](https://packagist.org/packages/mucts/geohash)

GeoHash
=======

[](#geohash)

GeoHash LBS地理位置距离计算方法geohash，将一个经纬度信息，转换成一个可以排序，可以比较的字符串编码，用于高效搜索

### 安装方法

[](#安装方法)

```
composer require mucts/geohash
```

### 使用方法

[](#使用方法)

```
