PHPackages                             wrossmann/maidenhead - 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. wrossmann/maidenhead

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

wrossmann/maidenhead
====================

Maidenhead Coordinate Library

232PHP

Since Aug 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wrossmann/php_maidenhead)[ Packagist](https://packagist.org/packages/wrossmann/maidenhead)[ RSS](/packages/wrossmann-maidenhead/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

This is a very barbones library that can currently decode, transform, and re-encode Maidenhead Coordinates

Usage
-----

[](#usage)

Basic usage as illustrated in `tests/test.php`

```
use wrossmann\maidenhead\Coordinate;

// extend to 5 pairs of precision, enforce uppercase coords
class ExtendedCoordinate extends Coordinate {
    protected static $encode_order = [ self::ENC_FIELD, self::ENC_SQUARE, self::ENC_SUBSQUARE, self::ENC_SQUARE, self::ENC_SUBSQUARE ];
    public function toString() {
        return strtoupper(parent::toString());
    }
}

$c = ExtendedCoordinate::fromString('JO22OI60KE');

// generate list of adjacent cells
foreach( [-1,0,1] as $x ) {
    foreach( [-1,0,1] as $y ) {
        if( $x == 0 && $y == 0 ) { continue; }
        var_dump($c->transform([[$x, $y]])->toString());
    }
}

```

Output:

```
string(10) "JO22OI60JD"
string(10) "JO22OI60JE"
string(10) "JO22OI60JF"
string(10) "JO22OI60KD"
string(10) "JO22OI60KF"
string(10) "JO22OI60LD"
string(10) "JO22OI60LE"
string(10) "JO22OI60LF"

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4967671?v=4)[Wade Rossmann](/maintainers/wrossmann)[@wrossmann](https://github.com/wrossmann)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wrossmann-maidenhead/health.svg)

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

###  Alternatives

[larament/seokit

A complete SEO package for Laravel, covering everything from meta tags to social sharing and structured data.

452.5k](/packages/larament-seokit)[tamkeen-tech/laravel-enum-state-machine

Control your state using enums

151.3k](/packages/tamkeen-tech-laravel-enum-state-machine)

PHPackages © 2026

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