PHPackages                             medz/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. medz/geohash

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

medz/geohash
============

Longitude and Latitude Geo Hash Library.

1.0.1(7y ago)33.4kMITPHP

Since Jun 5Pushed 7y agoCompare

[ Source](https://github.com/medz/geohash)[ Packagist](https://packagist.org/packages/medz/geohash)[ RSS](/packages/medz-geohash/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Geo Hash for PHP
================

[](#geo-hash-for-php)

Longitude and Latitude Geo Hash Library.

Install
-------

[](#install)

```
composer require medz/geohash

```

Using
-----

[](#using)

```
use Medz\GeoHash\GeoHash;

$geohash = GeoHash::encode([116.389550, 39.928167], 6 /* Min: 1, Max: 24 */); // wx4g0e
$coordinates = GeoHash::decode('wx4g0e'); // ->$longitude, -> $latitude, Or ->toArray();
```

LICENSE
-------

[](#license)

MIT

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

2

Last Release

2562d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5564821?v=4)[Seven Du](/maintainers/medz)[@medz](https://github.com/medz)

---

Top Contributors

[![medz](https://avatars.githubusercontent.com/u/5564821?v=4)](https://github.com/medz "medz (4 commits)")

### Embed Badge

![Health badge](/badges/medz-geohash/health.svg)

```
[![Health](https://phpackages.com/badges/medz-geohash/health.svg)](https://phpackages.com/packages/medz-geohash)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

305329.3k3](/packages/guava-calendar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
